summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-04-14 14:18:13 +0400
committerAndrew Dolgov <[email protected]>2010-04-14 14:18:13 +0400
commit4c93bf06b690dc8a2dd1d8d73b330ee6de7a7043 (patch)
treee845c60aee4625132998b08be989889e096f3c3a
parentfee909d5aa384dfaceaaa92653db8c09745123f9 (diff)
remove custom hardcoded cache destinations in various daemon scripts
-rwxr-xr-xupdate_daemon2.php2
-rwxr-xr-xupdate_daemon_loop.php2
-rwxr-xr-xupdate_feeds.php4
3 files changed, 0 insertions, 8 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 779373a63..431f0b6a1 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -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";
diff --git a/update_daemon_loop.php b/update_daemon_loop.php
index 064a904d3..0586aa4dd 100755
--- a/update_daemon_loop.php
+++ b/update_daemon_loop.php
@@ -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";
diff --git a/update_feeds.php b/update_feeds.php
index 588a0a9b5..0d93358e5 100755
--- a/update_feeds.php
+++ b/update_feeds.php
@@ -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);