diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-24 09:14:34 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-24 09:14:34 -0400 |
commit | 5cf04549e2a37c212101e80726f3134edd469fa6 (patch) | |
tree | 79ac25670e0dd0eb385b854e0d75c04435546064 /pts-core/functions/pts-init.php | |
parent | 7912516c658e901333457929c6a3e07b45b95989 (diff) | |
download | phoronix-test-suite-upstream-5cf04549e2a37c212101e80726f3134edd469fa6.tar.gz phoronix-test-suite-upstream-5cf04549e2a37c212101e80726f3134edd469fa6.tar.xz phoronix-test-suite-upstream-5cf04549e2a37c212101e80726f3134edd469fa6.zip |
pts-core: When running in debug mode, set error reporting to all and
strict
Diffstat (limited to 'pts-core/functions/pts-init.php')
-rw-r--r-- | pts-core/functions/pts-init.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php index e8f8e4a..1e9fbf9 100644 --- a/pts-core/functions/pts-init.php +++ b/pts-core/functions/pts-init.php @@ -65,6 +65,8 @@ function pts_init() define("PTS_DEBUG_FILE", $debug_file); $GLOBALS["DEBUG_CONTENTS"] = ""; } + + error_reporting(E_ALL | E_STRICT); // Set error reporting to all and strict } else define("IS_DEBUG_MODE", false); |