diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-01 15:56:57 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-03 11:50:42 -0400 |
commit | b5c1dbb7a04ce9dba85de3a7d8cacaefe6746b86 (patch) | |
tree | 9d103029c94d31c3fb3d8c1d1a1c148b1595ab0b /pts-core/functions/pts-init.php | |
parent | 909141e1357e679793828a88104d868096c02091 (diff) | |
download | phoronix-test-suite-upstream-b5c1dbb7a04ce9dba85de3a7d8cacaefe6746b86.tar.gz phoronix-test-suite-upstream-b5c1dbb7a04ce9dba85de3a7d8cacaefe6746b86.tar.xz phoronix-test-suite-upstream-b5c1dbb7a04ce9dba85de3a7d8cacaefe6746b86.zip |
Swithch defined("PTS_DEBUG_MODE") to IS_DEBUG_MODE
Diffstat (limited to 'pts-core/functions/pts-init.php')
-rw-r--r-- | pts-core/functions/pts-init.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php index 83c648e..e5276b2 100644 --- a/pts-core/functions/pts-init.php +++ b/pts-core/functions/pts-init.php @@ -55,6 +55,7 @@ function pts_init() if(getenv("DEBUG") == "1" || ($debug_file = getenv("DEBUG_FILE")) != FALSE) { define("PTS_DEBUG_MODE", 1); + define("IS_DEBUG_MODE", true); if($debug_file != FALSE) { @@ -62,6 +63,8 @@ function pts_init() $GLOBALS["DEBUG_CONTENTS"] = ""; } } + else + define("IS_DEBUG_MODE", false); // Operating System Detection $supported_operating_systems = array("Linux", array("Solaris", "Sun"), "FreeBSD", "BSD"); |