fix: 添加APP_STORE_NAME常量定义防止未定义错误
在开发者应用页面添加APP_STORE_NAME常量默认值定义,避免当该常量未定义时出现错误
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user