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()
} } return $menu; } # 获取基本配置 public function config() { $config = Dever::db('main/config')->find(); $config['link'] = Dever::url('home', 'main'); $config['link_name'] = '首页'; $config['menu'] = Dever::db('main/menu')->find(array('link' => 'home')); if ($config['menu']) { $config['menu']['link'] = Dever::url($config['menu']['link'], 'main'); $config['link_name'] = $config['menu']['name']; } $lang_set = Dever::config('base')->lang_set; $lang_config = Dever::langConfig();
Key | Value |
array | Array ( [sql] => SELECT * FROM `zhongshiminan_main_config` WHERE `state` = :state0 order by `id` desc [error] => SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zhongshi.zhongshiminan_main_config' doesn't exist ) |
Key | Value |
time | [0.027024030685425S] |
memory | [2811.2265625KB] |
trace | /www/zhongshiminan/main/src/Data.php:89 |
Key | Value |
USER | nobody |
HOME | / |
HTTP_HOST | zhongshiminanholdings.com |
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 | */* |
DEVER_SERVER | localhost |
REDIRECT_STATUS | 200 |
SERVER_NAME | zhongshi.5dev.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.27.17.59 |
REMOTE_PORT | 9072 |
REMOTE_ADDR | 18.223.158.206 |
SERVER_SOFTWARE | nginx/1.13.6 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/zhongshiminan |
DOCUMENT_URI | /index.php |
REQUEST_URI | / |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
SCRIPT_FILENAME | /www/zhongshiminan//index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734791492.5134 |
REQUEST_TIME | 1734791492 |