Compare commits

...

1 Commits

Author SHA1 Message Date
86808c2342 更新 mes_in_sct/start.php
Some checks failed
Run Unit Tests / test (pull_request) Has been cancelled
2025-06-19 08:27:17 +08:00

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();