Redirect after installation is broken

Currently the form just redirects to `/session/login`, which is wrong if PHPCI was installed into a subdirectory. 

This pull request fixes the URL that is used in the last form step.
This commit is contained in:
Tobias Tom 2014-01-25 14:26:47 +01:00
parent 54694d197b
commit c7de384750

View file

@ -139,7 +139,7 @@ if ($installOK && strtoupper($_SERVER['REQUEST_METHOD']) == 'POST') {
$store->save($user);
}
$formAction = '/session/login';
$formAction = rtrim( $config['phpci']['url'], '/' ) . '/session/login';
}
}