优化提高Windows平台转移做种客户端的兼容性

This commit is contained in:
iyuu.cn
2020-02-23 01:18:42 +08:00
parent efa11d280d
commit 125394ee0b
5 changed files with 13 additions and 3 deletions

View File

@ -50,6 +50,7 @@ if (is_file(ROOT_PATH . "/config/sites.json")) {
echo microtime(true).' 正在加载composer包管理器...'.PHP_EOL;
require_once ROOT_PATH . '/vendor/autoload.php';
echo microtime(true).' composer依赖载入完成'.PHP_EOL;
echo microtime(true).' 当前脚本运行环境:'.PHP_OS.PHP_EOL;
global $argv;
$start_file = str_replace("\\", "/", trim($argv[0]));
if (substr($start_file, -8)==="init.php") {