diff options
-rw-r--r-- | functions.php | 3 | ||||
-rw-r--r-- | update_daemon.php | 2 | ||||
-rw-r--r-- | 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 <?php // this daemon runs in the background and updates all feeds // continuously diff --git a/update_feeds.php b/update_feeds.php index 318a955ed..32635b824 100644 --- a/update_feeds.php +++ b/update_feeds.php @@ -1,4 +1,4 @@ -#!/usr/bin/php4 +#!/usr/bin/php <?php // this script is probably run not from your httpd-user, so cache // directory defined in config.php won't be accessible |