diff --git a/main.php b/main.php index 75a9a94..72e92f1 100644 --- a/main.php +++ b/main.php @@ -18,8 +18,10 @@ if (!empty($_ENV['DEV'])) { class Container { static MapGuesser\Interfaces\Database\IConnection $dbConnection; + static MapGuesser\Routing\RouteCollection $routeCollection; } Container::$dbConnection = new MapGuesser\Database\Mysql\Connection($_ENV['DB_HOST'], $_ENV['DB_USER'], $_ENV['DB_PASSWORD'], $_ENV['DB_NAME']); +Container::$routeCollection = new MapGuesser\Routing\RouteCollection(); session_start();