]> git.wh0rd.org - tt-rss.git/commitdiff
add tt-rss forum as default subscription for new users
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 2 Mar 2007 14:41:57 +0000 (15:41 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 2 Mar 2007 14:41:57 +0000 (15:41 +0100)
functions.php
update_daemon.php
update_feeds.php

index f014b8d2942ac658f9c5a263c31354ec9d0b4c33..10b45d29977274eb0ae65bf138c67148d285ee0c 100644 (file)
                        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() {
index cf32668b15461adca702a41aaedbbc3c8f97944b..312001a1711dd49ae16adfd4a5b2a295c5a7cf30 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/php4
+#!/usr/bin/php
 <?php
        // this daemon runs in the background and updates all feeds
        // continuously
index 318a955ed0db62889206181e27a6a19f02de988a..32635b824874e6f9f8d3cb4331d6b6abd05ad7d5 100644 (file)
@@ -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