From cd2cd415557f89897961f01a4d650d20cb03c69e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Mar 2007 15:41:57 +0100 Subject: [PATCH] add tt-rss forum as default subscription for new users --- functions.php | 3 +++ update_daemon.php | 2 +- update_feeds.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index f014b8d29..10b45d299 100644 --- a/functions.php +++ b/functions.php @@ -1146,6 +1146,9 @@ values ('$uid', 'Tiny Tiny RSS: New Releases', 'http://tt-rss.spb.ru/releases.rss')"); + db_query($link, "insert into ttrss_feeds (owner_uid,title,feed_url) + values ('$uid', 'Tiny Tiny RSS: Forum', + 'http://tt-rss.spb.ru/forum/rss.php')"); } function logout_user() { diff --git a/update_daemon.php b/update_daemon.php index cf32668b1..312001a17 100644 --- a/update_daemon.php +++ b/update_daemon.php @@ -1,4 +1,4 @@ -#!/usr/bin/php4 +#!/usr/bin/php