hxp
2024-11-29 da633a4acf9dc94bfd4fe05a564b9c22f40286d8
10162 后台优化(优化ImportAccountLoginpay.php; 优化首页标题)
2个文件已修改
11 ■■■■ 已修改文件
index.php 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
serverrep/ImportAccountLoginpay.php 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
index.php
@@ -31,6 +31,7 @@
// 加载用户配置
\Logging\LogInfo("加载用户信息.");
$user = new \User\User($UserAccount);
$spid = $user->GetSPID();
\Logging\LogInfo("用户账号: " . $UserAccount);
$permissions = $user->GetUserPermissions();
@@ -129,7 +130,7 @@
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title><?php echo \Lang\gettext("GM命令工具"); ?></title>
    <title><?php echo \Lang\gettext("GM命令工具") . " - " . $spid; ?></title>
    <link rel="stylesheet" href="css/index.css" media="screen" type="text/css" />
    <link rel="stylesheet" href="css/menu.css" media="screen" type="text/css" />
</head>
serverrep/ImportAccountLoginpay.php
@@ -1,6 +1,6 @@
<?php
set_time_limit(600); //暂时设置本脚本执行时间x秒,0不限制
ini_set('memory_limit', '256M'); // 将内存限制设置为256MB
set_time_limit(1800); //暂时设置本脚本执行时间x秒,0不限制
ini_set('memory_limit', '512M'); // 将内存限制设置为256MB
include_once '/Common/CommFunc.php';
include_once '/Common/Logging.php';
@@ -67,6 +67,10 @@
    logweb("开始导出留存报表:" . $Channel);
    \Report\CheckAndExportFirstKeepReport($Channel);
}
if ($opt == "keep") {
    logweb("开始导出留存报表:" . $Channel);
    \Report\CheckAndExportFirstKeepReport($Channel);
}
logweb("处理完毕!");
exit();