X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=config.default.php;h=09dc03a1ca43413be94626c84f60d672b4259480;hb=6d2aba608e1e75d9f25068c4686853eb14034584;hp=e69595f31d4cd44c390d7e5b48760d4295eb92f5;hpb=6b724fc86f632fd277f7fbc330cd748fc019afd3;p=fa-stable.git diff --git a/config.default.php b/config.default.php index e69595f3..09dc03a1 100644 --- a/config.default.php +++ b/config.default.php @@ -20,6 +20,8 @@ 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). @@ -39,7 +41,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); + error_reporting(E_ALL&E_STRICT); ini_set("display_errors", "On"); } else