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 *,zhcn_name as `name`,zhcn_info as `info`,zhcn_desc as `desc`,zhcn_address as `address`,zhcn_foot as `foot` 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.022197961807251S] |
memory | [2788.1328125KB] |
trace | /www/zhongshiminan/main/src/Data.php:89 |
Key | Value |
dever-lang | zhcn |
l | view |
page | business |
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 | 44316 |
REMOTE_ADDR | 3.15.18.73 |
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 | /?dever-lang=zhcn&l=view&page=business |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | dever-lang=zhcn&l=view&page=business |
SCRIPT_FILENAME | /www/zhongshiminan//index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734845562.5857 |
REQUEST_TIME | 1734845562 |