diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2026-03-09 11:29:08 +0100 |
|---|---|---|
| committer | Murtaza Sultani <sultani@data-quest.de> | 2026-03-09 11:29:15 +0100 |
| commit | fd87882f00562bb451f6d3bdd2545a1d38222158 (patch) | |
| tree | f8291db26d2f8ea796049a84d6e5e654e69e3ef8 /public/dispatch.php | |
| parent | a882a47291cc8955fb622eab1b8296f4f086c116 (diff) | |
Rename studipApp back to appeloquent-demo
Diffstat (limited to 'public/dispatch.php')
| -rw-r--r-- | public/dispatch.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/dispatch.php b/public/dispatch.php index f82835d..d2ebdaf 100644 --- a/public/dispatch.php +++ b/public/dispatch.php @@ -20,7 +20,7 @@ require '../lib/bootstrap.php'; URLHelper::setBaseUrl($GLOBALS['ABSOLUTE_URI_STUDIP']); // Build PHP_DI Container -$container = studipApp(); +$container = app(); // Instantiate the app AppFactory::setContainer($container); @@ -28,7 +28,7 @@ $app = AppFactory::create(); $container->set(App::class, $app); $app->setBasePath($GLOBALS['CANONICAL_RELATIVE_PATH_STUDIP'] . 'dispatch.php'); -$studip_dispatcher = studipApp(\Trails\Dispatcher::class); +$studip_dispatcher = app(\Trails\Dispatcher::class); $route_callable = $studip_dispatcher->getRouteCallable(Request::pathInfo()); $app->any(Request::pathInfo(), $route_callable); |
