Remove use constant DEBUG from Load.php

This commit is contained in:
Alexander Demidov
2012-07-10 13:50:04 +04:00
parent 2395adf7b8
commit 34337efda4

View File

@ -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();
}