Compare commits

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

No files matched your search

+1 -1
View File
@@ -1,6 +1,7 @@
# VPS Hub - 多平台VPS监控与管理系统 # VPS Hub - 多平台VPS监控与管理系统
<div align="center"> <div align="center">
![License](https://img.shields.io/badge/license-MIT-red) ![License](https://img.shields.io/badge/license-MIT-red)
**一个强大的多平台VPS监控、管理和自动重启系统** **一个强大的多平台VPS监控、管理和自动重启系统**
@@ -24,7 +25,6 @@
- [监控服务](#-监控服务) - [监控服务](#-监控服务)
- [安全说明](#-安全说明) - [安全说明](#-安全说明)
- [常见问题](#-常见问题) - [常见问题](#-常见问题)
- [更新日志](#-更新日志)
- [许可证](#-许可证) - [许可证](#-许可证)
--- ---
+2 -2
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/token_pass.php'; $tokenFile = __DIR__ . '/app/pass.php'; # 更新路径为app/pass.php,避免与其他配置文件混淆
// 检查是否首次访问(需要设置API_PASS) // 检查是否首次访问(需要设置API_PASS)
$needSetup = !file_exists($tokenFile); $needSetup = !file_exists($tokenFile);
@@ -43,7 +43,7 @@ if ($needSetup && $_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['setup_p
// 如果需要设置密码,显示设置页面 // 如果需要设置密码,显示设置页面
if ($needSetup) { if ($needSetup) {
?> ?>n
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-CN"> <html lang="zh-CN">
<head> <head>