更新 mes_in_sct/start.php
Some checks failed
Run Unit Tests / test (pull_request) Has been cancelled

This commit is contained in:
james 2025-06-19 08:27:17 +08:00
parent a7f7fc6f9f
commit 86808c2342

View File

@ -1,5 +1,5 @@
#!/usr/bin/env php
<?php
<?php
require_once __DIR__ . '/vendor/autoload.php';
// 使用 getopt 函数解析命令行参数
$options = getopt('h::', ['APP_ENV::', 'help::']);
@ -14,3 +14,4 @@ if (isset($options['APP_ENV'])) {
putenv('APP_ENV='.$options['APP_ENV']);
}
\libs\core\App::run();