if (is_array($msg)) {
$msg = array('array' => Export::format($msg));
} else {
$msg = array(gettype($msg) => $msg);
}
$handler[0]->addDataTable('Data', $msg);
$handler[0]->addDataTable('Env', array('time' => self::time(), 'memory' => self::memory(), 'trace' => self::trace()));
$handler[0]->setPageTitle($notice);
throw new Exceptions($notice);
} else {
print_r($msg);
}
die;
}
/**
* data
*/
public static function data()
public $data = array();
public function __construct()
{
$this->uid = Dever::load('passport/user')->check(false);
if ($this->uid <= 0) {
$this->uid = 1;
}
if ($this->uid) {
$this->user = Dever::load('passport/api')->info($this->uid);
} else {
$this->user = Dever::load('passport/user')->init();
$this->uid = $this->user['id'];
}
if ($this->user) {
$this->user['uid'] = $this->user['id'];
}
}
| Key | Value |
| array |
Array
(
[sql] => SELECT id,username,avatar,sex,truename,area,mobile,area_id,address,address_contact,address_mobile,info,title,birthday,avatar_id,cash FROM `churen_passport_user` WHERE `id` = :id0
[error] => SQLSTATE[42S02]: Base table or view not found: 1146 Table 'churen.churen_passport_user' doesn't exist
)
|
| Key | Value |
| time | [0.025432109832764S] |
| memory | [3516.6328125KB] |
| trace | /www/wwwroot/churen/main/lib/Core.php:20 |
| Key | Value |
| USER | www |
| HOME | /home/www |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| PATH_INFO | |
| HTTP_HOST | www.churenyiliao.com |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | www.churenyiliao.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 192.168.200.26 |
| REMOTE_PORT | 59538 |
| REMOTE_ADDR | 216.73.216.23 |
| SERVER_SOFTWARE | nginx/1.26.3 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/2.0 |
| DOCUMENT_ROOT | /www/wwwroot/churen |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | / |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| SCRIPT_FILENAME | /www/wwwroot/churen/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1772426193.9568 |
| REQUEST_TIME | 1772426193 |
| DEVER_SERVER | localhost |