/** * start application. */ public function run() { foreach (glob(APP_DIR . 'controllers/*') as $file) { include $file; } Router::dispatch(); }