From 34337efda4c254908cc2e63d4d40280bf439707d Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Tue, 10 Jul 2012 13:50:04 +0400 Subject: [PATCH] Remove use constant DEBUG from Load.php --- Load.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Load.php b/Load.php index 46b54ab..51b160a 100644 --- a/Load.php +++ b/Load.php @@ -50,7 +50,7 @@ class Load require(PATH . self::$autoload[$class]); return; } - if (defined('DEBUG') && DEBUG == true) { + if (Config::get('DEBUG')) { if (!isset(self::$autoload[$class])) { self::buildAutoload(); }