mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-12 11:48:57 +00:00
优化提高Windows平台转移做种客户端的兼容性
This commit is contained in:
1
init.php
1
init.php
@ -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") {
|
||||
|
Reference in New Issue
Block a user