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