This repository has been archived on 2026-06-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
EDT/admin/include/db_mysql_error.php
wsh5485 7e47ce238b chore: 添加多个图片和资源文件
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
2025-06-15 13:04:37 +08:00

25 lines
616 B
PHP

<?php
header("Content-type: text/html; charset=utf-8");
$timestamp = time();
$errmsg = '';
$dberror = $this->error();
$dberrno = $this->errno();
$json_data="{";
if($dberrno == 1114) {
$msg="目前连接人数太多了,请稍等!";
} else {
$msg="";
if($message) {
$msg.=$message."<br>";
}
$msg.="查询时间:".gmdate("Y-n-j g:ia", $timestamp + ($GLOBALS['timeoffset'] * 3600))."<br>";
if($sql) {
$msg.="错误SQL:".htmlspecialchars($sql)."|";
}
$msg.="错误信息:".$dberror."<br>";
$msg.="错误代码:".$dberrno."<br>";
}
$json_data="{\"code\":0,\"msg\":\"".$msg."\"}";
echo $json_data;
exit();
?>