aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-27 06:11:25 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2024-05-27 06:11:25 +0000
commit4f847abc09405f0cf848f7b4b5a5a283acc6131d (patch)
tree94912425ef703757cf63fd19f8463a73e594cf9c /cli
parent05fefe4a2d9582e48131c82cee4d25cef2db40f5 (diff)
integrate trails, fixes #4102
Closes #4102 Merge request studip/studip!3034
Diffstat (limited to 'cli')
-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 b4b2fa7..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 = app(\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 = app(\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])) {