get('/', function() use ($app) { return $app->redirect('/setup/installer/'); }); $app->mount('/installer/', new Controller\Installer()); $app->mount('/test', new ControllerUtils\PathFileTest()); $app->mount('/connection_test', new ControllerUtils\ConnectionTest()); $app->error(function($e){ }); return $app; });