From d7b72280fb208d1589de1eb5928978c71eedd0ea Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sat, 12 Jul 2025 21:54:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0APP=5FSTORE=5FNAME?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E5=AE=9A=E4=B9=89=E9=98=B2=E6=AD=A2=E6=9C=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在开发者应用页面添加APP_STORE_NAME常量默认值定义,避免当该常量未定义时出现错误 --- developer_apps.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/developer_apps.php b/developer_apps.php index 62b41da..2a889df 100644 --- a/developer_apps.php +++ b/developer_apps.php @@ -2,6 +2,10 @@ session_start(); require_once 'config.php'; +if (!defined('APP_STORE_NAME')) { + define('APP_STORE_NAME', ''); +} + // 验证开发者ID参数 if (!isset($_GET['id']) || !is_numeric($_GET['id'])) { header('Location: index.php');