bug修复

This commit is contained in:
MasonLiu 2026-05-30 08:55:19 +08:00
parent 743aa16428
commit ce3cf309f9

View File

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