示例#1
0
 public function run()
 {
     $this->init();
     $loaderPath = Config::get('autoload.path');
     Loader::addAutoLoadPath($loaderPath);
     Loader::import(APP_PATH . 'routes.php');
     Loader::register();
     Route::run();
 }