diff options
Diffstat (limited to 'update_daemon.php')
-rw-r--r-- | update_daemon.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/update_daemon.php b/update_daemon.php index 32054c5b3..f99e4f763 100644 --- a/update_daemon.php +++ b/update_daemon.php @@ -4,12 +4,12 @@ // continuously define('DEFAULT_ERROR_LEVEL', E_ALL); - error_reporting(E_ALL); declare(ticks = 1); define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon'); define('DISABLE_SESSIONS', true); + define('DAEMON_EXTENDED_DEBUG', true); define('PURGE_INTERVAL', 3600); // seconds @@ -25,6 +25,8 @@ require_once "functions.php"; require_once "magpierss/rss_fetch.inc"; + error_reporting(E_ALL); + function sigint_handler() { unlink("update_daemon.lock"); die("Received SIGINT. Exiting.\n"); |