Compare commits
4
Commits
V1.0正式版
...
914208aa70
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
914208aa70 | ||
|
|
ce3cf309f9 | ||
|
|
743aa16428 | ||
|
|
cea593c8f9 |
No files matched your search
@@ -1,6 +1,7 @@
|
|||||||
# VPS Hub - 多平台VPS监控与管理系统
|
# VPS Hub - 多平台VPS监控与管理系统
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**一个强大的多平台VPS监控、管理和自动重启系统**
|
**一个强大的多平台VPS监控、管理和自动重启系统**
|
||||||
@@ -24,7 +25,6 @@
|
|||||||
- [监控服务](#-监控服务)
|
- [监控服务](#-监控服务)
|
||||||
- [安全说明](#-安全说明)
|
- [安全说明](#-安全说明)
|
||||||
- [常见问题](#-常见问题)
|
- [常见问题](#-常见问题)
|
||||||
- [更新日志](#-更新日志)
|
|
||||||
- [许可证](#-许可证)
|
- [许可证](#-许可证)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
+2
-2
@@ -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>
|
||||||
|
|||||||
Reference in new issue
Block a user