Browse Source

Remove use constant DEBUG from Load.php

master
Alexander Demidov 13 years ago
parent
commit
34337efda4
  1. 2
      Load.php

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

Loading…
Cancel
Save