remove custom hardcoded cache destinations in various daemon scripts

master
Andrew Dolgov 15 years ago
parent fee909d5aa
commit 4c93bf06b6

@ -8,8 +8,6 @@
declare(ticks = 1); 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); define('DISABLE_SESSIONS', true);
require_once "version.php"; require_once "version.php";

@ -12,8 +12,6 @@
declare(ticks = 1); 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); define('DISABLE_SESSIONS', true);
require_once "version.php"; require_once "version.php";

@ -1,9 +1,5 @@
#!/usr/bin/php #!/usr/bin/php
<?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('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
define('DISABLE_SESSIONS', true); define('DISABLE_SESSIONS', true);

Loading…
Cancel
Save