Fix installation in subdirectory

Fixes #1604.
This commit is contained in:
Franz Liedke 2018-10-26 00:27:35 +02:00
parent 194808ec7c
commit 5ad2a5a842

View File

@ -74,13 +74,13 @@ class InstallServiceProvider extends AbstractServiceProvider
$route = $this->app->make(RouteHandlerFactory::class); $route = $this->app->make(RouteHandlerFactory::class);
$routes->get( $routes->get(
'/', '/{path:.*}',
'index', 'index',
$route->toController(Controller\IndexController::class) $route->toController(Controller\IndexController::class)
); );
$routes->post( $routes->post(
'/', '/{path:.*}',
'install', 'install',
$route->toController(Controller\InstallController::class) $route->toController(Controller\InstallController::class)
); );