mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-12 11:48:57 +00:00
标准化格式
This commit is contained in:
4
init.php
4
init.php
@ -45,7 +45,7 @@ if (is_file(ROOT_PATH . "/config/sites.json")) {
|
||||
require_once ROOT_PATH . '/vendor/autoload.php';
|
||||
|
||||
global $argv;
|
||||
$start_file = str_replace("\\","/",trim($argv[0]));
|
||||
if( substr($start_file,-8)==="init.php" ){
|
||||
$start_file = str_replace("\\", "/", trim($argv[0]));
|
||||
if (substr($start_file, -8)==="init.php") {
|
||||
require_once __DIR__ . '/iyuu.php';
|
||||
}
|
||||
|
Reference in New Issue
Block a user