aboutsummaryrefslogtreecommitdiff
path: root/cli/Commands/Checks/HelpTours.php
diff options
context:
space:
mode:
authorMurtaza Sultani <sultani@data-quest.de>2026-03-09 11:29:08 +0100
committerMurtaza Sultani <sultani@data-quest.de>2026-03-09 11:29:15 +0100
commitfd87882f00562bb451f6d3bdd2545a1d38222158 (patch)
treef8291db26d2f8ea796049a84d6e5e654e69e3ef8 /cli/Commands/Checks/HelpTours.php
parenta882a47291cc8955fb622eab1b8296f4f086c116 (diff)
Rename studipApp back to appeloquent-demo
Diffstat (limited to 'cli/Commands/Checks/HelpTours.php')
-rw-r--r--cli/Commands/Checks/HelpTours.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/Commands/Checks/HelpTours.php b/cli/Commands/Checks/HelpTours.php
index 309dfda..b0c201a 100644
--- a/cli/Commands/Checks/HelpTours.php
+++ b/cli/Commands/Checks/HelpTours.php
@@ -59,7 +59,7 @@ class HelpTours extends Command
$plugin = new $plugin_info['class']();
if ($result[1]) {
- $dispatcher = studipApp(\Trails\Dispatcher::class);
+ $dispatcher = app(\Trails\Dispatcher::class);
$dispatcher->trails_root = $GLOBALS['ABSOLUTE_PATH_STUDIP'] . $plugin->getPluginPath();
$dispatcher->trails_uri = rtrim(\PluginEngine::getLink($plugin, [], null, true), '/');
$dispatcher->default_controller = 'index';
@@ -71,7 +71,7 @@ class HelpTours extends Command
}
}
} elseif (match_route('dispatch.php/*', $step->route)) {
- $dispatcher = studipApp(\Trails\Dispatcher::class);
+ $dispatcher = app(\Trails\Dispatcher::class);
$parsed = $dispatcher->parse(substr($step->route, strlen('dispatch.php') + 1));
$controller = $dispatcher->load_controller($parsed[0]);
if ($parsed[1] && !$controller->has_action($parsed[1])) {