removed DatabaseConnection
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
9eee91fd77
commit
59c399eb7a
@ -33,8 +33,7 @@ if ($uri[1] !== 'api') {
|
||||
}
|
||||
|
||||
$requestMethod = $_SERVER["REQUEST_METHOD"];
|
||||
$databaseConnection = new DatabaseConnection(config: $config);
|
||||
|
||||
$controller = new RequestController(databaseConnection: $databaseConnection, requestMethod: $requestMethod, uri: $uri);
|
||||
$controller = new RequestController(config: $config, requestMethod: $requestMethod, uri: $uri);
|
||||
$controller->processRequest();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user