From a90da4361d02a53204f198f19072e2d420b394f0 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 3 Sep 2006 21:33:04 +0000 Subject: Added TEnumerable and updated places where enumerable type should be used. --- framework/PradoBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/PradoBase.php') diff --git a/framework/PradoBase.php b/framework/PradoBase.php index cf1d67fb..cda172a3 100644 --- a/framework/PradoBase.php +++ b/framework/PradoBase.php @@ -489,9 +489,9 @@ class PradoBase */ public static function trace($msg,$category='Uncategorized') { - if(self::$_application && self::$_application->getMode()===TApplication::STATE_PERFORMANCE) + if(self::$_application && self::$_application->getMode()===TApplicationMode::Performance) return; - if(!self::$_application || self::$_application->getMode()===TApplication::STATE_DEBUG) + if(!self::$_application || self::$_application->getMode()===TApplicationMode::Debug) { $trace=debug_backtrace(); if(isset($trace[0]['file']) && isset($trace[0]['line'])) -- cgit v1.2.3