update to 2.2.10 version

add build-runtime.sh
remove debug msg when stopping
add --show-php-ver argument for server
This commit is contained in:
jerry
2021-03-08 00:48:51 +08:00
parent a23f3d8f16
commit de5744c9e4
6 changed files with 235 additions and 3 deletions

View File

@@ -110,6 +110,9 @@ class Framework
if (ZMConfig::get("global", "static_file_server")["status"] !== false) {
$out["static_file_server"] = "enabled";
}
if (self::$argv["show-php-ver"] !== false) {
$out["php_version"] = PHP_VERSION;
}
$out["working_dir"] = DataProvider::getWorkingDir();
self::printProps($out, $tty_width, $args["log-theme"] === null);
@@ -290,6 +293,7 @@ class Framework
Console::$theme = $y;
}
break;
case 'show-php-ver':
default:
//Console::info("Calculating ".$x);
//dump($y);