Compare commits

..

3 Commits

Author SHA1 Message Date
914208aa70 bug修复 2026-05-30 09:34:47 +08:00
ce3cf309f9 bug修复 2026-05-30 08:55:19 +08:00
743aa16428 小更新 2026-05-29 23:41:45 +08:00
2 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,6 @@
- [监控服务](#-监控服务)
- [安全说明](#-安全说明)
- [常见问题](#-常见问题)
- [更新日志](#-更新日志)
- [许可证](#-许可证)
---

View File

@ -8,7 +8,7 @@ require_once __DIR__ . '/app/db_helper.php';
require_once __DIR__ . '/mofangidc.php';
// Token文件路径(存储API_PASS)
$tokenFile = __DIR__ . '/app/token_pass.php';
$tokenFile = __DIR__ . '/app/pass.php'; # 更新路径为app/pass.php避免与其他配置文件混淆
// 检查是否首次访问(需要设置API_PASS)
$needSetup = !file_exists($tokenFile);
@ -43,7 +43,7 @@ if ($needSetup && $_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['setup_p
// 如果需要设置密码,显示设置页面
if ($needSetup) {
?>
?>n
<!DOCTYPE html>
<html lang="zh-CN">
<head>