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.025654077529907S] |
memory | [2790.0078125KB] |
trace | /www/zhongshiminan/main/src/Data.php:89 |
Key | Value |
l | article |
id | 3 |
Key | Value |
USER | nobody |
HOME | / |
HTTP_CONNECTION | Keep-Alive |
HTTP_HOST | zhongshiminanholdings.com |
HTTP_ACCEPT_ENCODING | br,gzip |
HTTP_IF_MODIFIED_SINCE | Sun, 10 Nov 2024 11:41:21 GMT |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
DEVER_SERVER | localhost |
REDIRECT_STATUS | 200 |
SERVER_NAME | zhongshi.5dev.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.27.17.59 |
REMOTE_PORT | 56852 |
REMOTE_ADDR | 18.97.9.170 |
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 | /?l=article&id=3 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | l=article&id=3 |
SCRIPT_FILENAME | /www/zhongshiminan//index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1733603674.6636 |
REQUEST_TIME | 1733603674 |