diff options
| author | Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de> | 2022-11-04 07:14:50 +0000 |
|---|---|---|
| committer | Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de> | 2022-11-04 07:14:50 +0000 |
| commit | d08d1b67d2e6d17e67623bb6b47c37a67eea22e4 (patch) | |
| tree | bb5d9408f245ce4f26a9e981b034ac203a36eff4 /public/dispatch.php | |
| parent | e814af9c5111f1da26e4ba5e16cca80c5ba5a022 (diff) | |
Use dependency injection in trails, closes #1714.
Closes #1714
Merge request studip/studip!1118
Diffstat (limited to 'public/dispatch.php')
| -rw-r--r-- | public/dispatch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/dispatch.php b/public/dispatch.php index 3abad64..b6f6847 100644 --- a/public/dispatch.php +++ b/public/dispatch.php @@ -23,5 +23,5 @@ URLHelper::setBaseUrl($GLOBALS['ABSOLUTE_URI_STUDIP']); $request_uri = isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : '/'; -$dispatcher = new StudipDispatcher(); +$dispatcher = app(\Trails_Dispatcher::class); $dispatcher->dispatch($request_uri); |
