Add partial user authentication

This commit is contained in:
Bojidar Marinov
2016-05-28 15:56:50 +03:00
parent d5b71738ab
commit f60103450f
9 changed files with 231 additions and 46 deletions

View File

@@ -28,7 +28,10 @@ require __DIR__ . '/../src/dependencies.php';
require __DIR__ . '/../src/middleware.php';
// Register routes
require __DIR__ . '/../src/routes.php';
foreach(glob(__DIR__ . "/../src/routes/*.php") as $filename) {
require $filename;
}
// Run app
$app->run();