diff options
author | xue <> | 2006-01-31 14:13:20 +0000 |
---|---|---|
committer | xue <> | 2006-01-31 14:13:20 +0000 |
commit | ec3976314de1d9820c0de3ba3c40eeffecf16740 (patch) | |
tree | be82e6c4bb0be13dda99ec581d7715365d4284cc /framework | |
parent | 4ad011e6ff366a924c09bb58518c01d3a6361e54 (diff) |
Fixed a small issue about page configuration.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/core.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/core.php b/framework/core.php index 6c31bc55..3f5493d5 100644 --- a/framework/core.php +++ b/framework/core.php @@ -752,9 +752,9 @@ class PradoBase */
public static function trace($msg,$category='Uncategorized')
{
- if(self::$_application && self::$_application->getMode()==='Performance')
+ if(self::$_application && self::$_application->getMode()===TApplication::STATE_PERFORMANCE)
return;
- if(!self::$_application || self::$_application->getMode()==='Debug')
+ if(!self::$_application || self::$_application->getMode()===TApplication::STATE_DEBUG)
{
$trace=debug_backtrace();
if(isset($trace[0]['file']) && isset($trace[0]['line']))
|