Fixed trailing slash
This commit is contained in:
parent
9e73151755
commit
55d354d000
|
@ -90,13 +90,13 @@ class InstallCommand extends Command
|
|||
$conf['b8']['database'] = $db;
|
||||
$conf['phpci']['url'] = $dialog->askAndValidate(
|
||||
$output,
|
||||
'Your PHPCI URL without trailing slash ("http://phpci.local" for example): ',
|
||||
'Your PHPCI URL ("http://phpci.local" for example): ',
|
||||
function ($answer) {
|
||||
if (!filter_var($answer, FILTER_VALIDATE_URL)) {
|
||||
throw new Exception('Must be a valid URL');
|
||||
}
|
||||
|
||||
return $answer;
|
||||
return rtrim($answer, '/');
|
||||
},
|
||||
false
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue