improve cli install

This commit is contained in:
joyqi
2021-09-17 15:15:54 +08:00
parent 432b69f70d
commit e46acd815d

View File

@@ -1370,6 +1370,12 @@ function install_dispatch()
$options = \Widget\Options::alloc(install_get_default_options());
\Widget\Init::alloc();
// display version
if (install_is_cli()) {
echo $options->generator . "\n";
echo 'PHP ' . PHP_VERSION . "\n";
}
// install finished yet
if (
install_check('config')