From: Janusz Dobrowolski Date: Tue, 7 Dec 2010 12:05:57 +0000 (+0000) Subject: Changes error_reporting parameter acording to tip in php manual. X-Git-Tag: v2.4.2~19^2~426 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c8dc3c10100e76aff9dfaeac31c39506d24a7e9d;p=fa-stable.git Changes error_reporting parameter acording to tip in php manual. --- diff --git a/config.default.php b/config.default.php index eca0db7b..692c87b5 100644 --- a/config.default.php +++ b/config.default.php @@ -20,8 +20,6 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) die("Restricted access"); - if (!defined('E_STRICT')) - define('E_STRICT', 2048); // for php4 // Log file for error/warning messages. Should be set to any location // writable by www server. When set to empty string logging is switched off. // Special value 'syslog' can be used for system logger usage (see php manual). @@ -41,7 +39,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ $select_trail = 0; // track also SELECT queries if ($go_debug > 0) { - error_reporting(E_ALL&E_STRICT); + error_reporting(-1); ini_set("display_errors", "On"); } else