add:新增 implode 方法

This commit is contained in:
JaguarJack
2021-02-27 18:30:40 +08:00
parent 50c8470d73
commit ddf521b62b
2 changed files with 22 additions and 9 deletions

View File

@@ -116,7 +116,7 @@ class InstallProjectCommand extends Command
// 设置 app domain
$appDomain = strtolower($this->output->ask($this->input, '👉 first, you should set app domain: '));
if (strpos('http://', $appDomain) === false || strpos('https://', $appDomain) === false) {
if (strpos($appDomain, 'http://') === false || strpos( $appDomain, 'https://') === false) {
$appDomain = 'http://' . $appDomain;
}