self::loadedClasses($Class); } return TRUE; } static function configre($key, $name) { if (!$name || !$key) { return FALSE; } self::$config[$key] = $name; return TRUE; } protected static function getConstruct($key) { if (!$key) { return FALSE; } if (!self::$config[$key]) { return FALSE; } return self::$config[$key]; } } Loader::configre("class_path", CLASS_PATH); Loader::configre("ext_class_path", EXTERNAL_PATH); Loader::loadClasses(); Hooks::create("Loader"); Settings::define("CachePath", CACHE_PATH); Cache::control(); Loader::loadExtClasses(); Hooks::call("Loader");