]> git.wh0rd.org - tt-rss.git/commitdiff
remove custom hardcoded cache destinations in various daemon scripts
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 14 Apr 2010 10:18:13 +0000 (14:18 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 14 Apr 2010 10:18:13 +0000 (14:18 +0400)
update_daemon2.php
update_daemon_loop.php
update_feeds.php

index 779373a632faba6c273b962348cbaf343aefb89c..431f0b6a11d62dc8a40f89ec42ac142928be060b 100755 (executable)
@@ -8,8 +8,6 @@
 
        declare(ticks = 1);
 
-       define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon');
-       define('SIMPLEPIE_CACHE_DIR',   '/var/tmp/simplepie-ttrss-cache-daemon');
        define('DISABLE_SESSIONS', true);
 
        require_once "version.php";
index 064a904d3de139cfa71a9bc419715137d0584a8f..0586aa4dd12794bb37342bcd33f0d15ecfaff122 100755 (executable)
@@ -12,8 +12,6 @@
 
        declare(ticks = 1);
 
-       define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon');
-       define('SIMPLEPIE_CACHE_DIR',   '/var/tmp/simplepie-ttrss-cache-daemon');
        define('DISABLE_SESSIONS', true);
 
        require_once "version.php";
index 588a0a9b570b194429b82dde51b14e023d9acd56..0d93358e5f7661e4ac7d3e7b15b875d0f95e59a3 100755 (executable)
@@ -1,9 +1,5 @@
 #!/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
-       define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-cli');
-       define('SIMPLEPIE_CACHE_DIR',   '/var/tmp/simplepie-ttrss-cache-cli');
        define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
        define('DISABLE_SESSIONS', true);