summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-02 15:41:57 +0100
committerAndrew Dolgov <[email protected]>2007-03-02 15:41:57 +0100
commitcd2cd415557f89897961f01a4d650d20cb03c69e (patch)
tree8a1e836ec093cd8d95564010fb52346059d9ce9f
parentef59e6e85fe949a3afcd42a4a9b9df42a625ace2 (diff)
add tt-rss forum as default subscription for new users
-rw-r--r--functions.php3
-rw-r--r--update_daemon.php2
-rw-r--r--update_feeds.php2
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