Compare commits

..

No commits in common. "914208aa704a988e335d6b6d9b37a25084aab65d" and "cea593c8f98be883656fabe1c45f3dc468f50799" have entirely different histories.

2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -8,7 +8,7 @@ require_once __DIR__ . '/app/db_helper.php';
require_once __DIR__ . '/mofangidc.php';
// Token文件路径(存储API_PASS)
$tokenFile = __DIR__ . '/app/pass.php'; # 更新路径为app/pass.php避免与其他配置文件混淆
$tokenFile = __DIR__ . '/app/token_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>