diff options
author | Andrew Dolgov <[email protected]> | 2007-03-14 15:50:28 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-03-14 15:50:28 +0100 |
commit | 219bd8fcfcd91922aedba01a676dbd4068fbc803 (patch) | |
tree | cc1ffacb9c1028fb2f4cb71299de9bb75a69b86b /update_daemon.php | |
parent | 76e8393b0aff5d4ba55cc2b50668d13e734bd88f (diff) |
bump up debugging in daemon
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"); |