From fb0742394a2097a506a777f0bc7c285c07eb6a72 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Nov 2010 13:14:44 +0300 Subject: remove error_reporting() hacks; set default error reporting level in functions.php --- update_daemon2.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'update_daemon2.php') diff --git a/update_daemon2.php b/update_daemon2.php index d7141c878..5ffc4f549 100755 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -3,9 +3,6 @@ // This is an experimental multiprocess update daemon. // Some configurable variable may be found below. - // define('DEFAULT_ERROR_LEVEL', E_ALL); - define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE); - declare(ticks = 1); define('DISABLE_SESSIONS', true); @@ -38,8 +35,6 @@ require_once "functions.php"; require_once "lib/magpierss/rss_fetch.inc"; - error_reporting(DEFAULT_ERROR_LEVEL); - $children = array(); $ctimes = array(); -- cgit v1.2.3-54-g00ecf