7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
25 lines
616 B
PHP
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();
|
|
?>
|