bug修复
This commit is contained in:
parent
743aa16428
commit
ce3cf309f9
@ -8,7 +8,7 @@ require_once __DIR__ . '/app/db_helper.php';
|
|||||||
require_once __DIR__ . '/mofangidc.php';
|
require_once __DIR__ . '/mofangidc.php';
|
||||||
|
|
||||||
// Token文件路径(存储API_PASS)
|
// Token文件路径(存储API_PASS)
|
||||||
$tokenFile = __DIR__ . '/app/pass.php';
|
$tokenFile = __DIR__ . '/app/pass.php'; # 更新路径为app/pass.php,避免与其他配置文件混淆
|
||||||
|
|
||||||
// 检查是否首次访问(需要设置API_PASS)
|
// 检查是否首次访问(需要设置API_PASS)
|
||||||
$needSetup = !file_exists($tokenFile);
|
$needSetup = !file_exists($tokenFile);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user