From c7de384750b456604b774aedfd185a16ee11f206 Mon Sep 17 00:00:00 2001 From: Tobias Tom Date: Sat, 25 Jan 2014 14:26:47 +0100 Subject: [PATCH] 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. --- public/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/install.php b/public/install.php index 1d900800..4c4e628a 100644 --- a/public/install.php +++ b/public/install.php @@ -139,7 +139,7 @@ if ($installOK && strtoupper($_SERVER['REQUEST_METHOD']) == 'POST') { $store->save($user); } - $formAction = '/session/login'; + $formAction = rtrim( $config['phpci']['url'], '/' ) . '/session/login'; } }