remove custom hardcoded cache destinations in various daemon scripts
This commit is contained in:
parent
fee909d5aa
commit
4c93bf06b6
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue