diff options
author | Andrew Dolgov <[email protected]> | 2010-11-10 13:14:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-10 13:14:44 +0300 |
commit | fb0742394a2097a506a777f0bc7c285c07eb6a72 (patch) | |
tree | 64fbbffc9392e65ed272727890b04e99e4680454 /update.php | |
parent | 55a5137307bf99d9868a775d4197cbe25dbf25d5 (diff) |
remove error_reporting() hacks; set default error reporting level in functions.php
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/update.php b/update.php index 50b9fc412..64b5795fa 100755 --- a/update.php +++ b/update.php @@ -1,18 +1,15 @@ #!/usr/bin/php <?php - define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE); define('DISABLE_SESSIONS', true); if (!defined('PHP_EXECUTABLE')) define('PHP_EXECUTABLE', '/usr/bin/php'); - error_reporting(DEFAULT_ERROR_LEVEL); - + require_once "functions.php"; require_once "sanity_check.php"; require_once "config.php"; require_once "db.php"; require_once "db-prefs.php"; - require_once "functions.php"; $op = $argv[1]; |