diff options
Diffstat (limited to 'public/install.php')
| -rw-r--r-- | public/install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/install.php b/public/install.php index a82e84f..c10f928 100644 --- a/public/install.php +++ b/public/install.php @@ -55,7 +55,7 @@ if (!function_exists('_')) { $GLOBALS['template_factory'] = new Flexi_TemplateFactory('../templates/'); # get plugin class from request -$dispatch_to = $_SERVER['PATH_INFO'] ?: ''; +$dispatch_to = ltrim(Request::path_info(), '/'); $dispatcher = new Trails_Dispatcher( '../app', $_SERVER['SCRIPT_NAME'], 'admin/install'); $dispatcher->dispatch("admin/install/{$dispatch_to}"); |
