.echo pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border: 0;
border-radius: 3px;
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.echo pre > pre {
padding: 0;
margin: 0;
}
/* Exception Info */
.exception {
margin-top: 20px;
}
.exception .message{
padding: 12px;
border: 1px solid #ddd;
border-bottom: 0 none;
line-height: 18px;
font-size:16px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
}
.exception .code{
float: left;
text-align: center;
color: #fff;
margin-right: 12px;
padding: 16px;
border-radius: 4px;
background: #999;
}
.exception .source-code{
padding: 6px;
border: 1px solid #ddd;
background: #f9f9f9;
overflow-x: auto;
}
.exception .source-code pre{
margin: 0;
}
.exception .source-code pre ol{
margin: 0;
color: #4288ce;
display: inline-block;
min-width: 100%;
box-sizing: border-box;
font-size:14px;
font-family: "Century Gothic",Consolas,"Liberation Mono",Courier,Verdana;
padding-left: 48px;
}
.exception .source-code pre li{
border-left: 1px solid #ddd;
height: 18px;
line-height: 18px;
}
.exception .source-code pre code{
color: #333;
height: 100%;
display: inline-block;
border-left: 1px solid #fff;
font-size:14px;
font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
}
.exception .trace{
padding: 6px;
border: 1px solid #ddd;
border-top: 0 none;
line-height: 16px;
font-size:14px;
font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
}
.exception .trace ol{
margin: 12px;
}
.exception .trace ol li{
padding: 2px 4px;
}
.exception div:last-child{
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
/* Exception Variables */
.exception-var table{
width: 100%;
margin: 12px 0;
box-sizing: border-box;
table-layout:fixed;
word-wrap:break-word;
}
.exception-var table caption{
text-align: left;
font-size: 16px;
font-weight: bold;
padding: 6px 0;
}
.exception-var table caption small{
font-weight: 300;
display: inline-block;
margin-left: 10px;
color: #ccc;
}
.exception-var table tbody{
font-size: 13px;
font-family: Consolas,"Liberation Mono",Courier,"微软雅黑";
}
.exception-var table td{
padding: 0 6px;
vertical-align: top;
word-break: break-all;
}
.exception-var table td:first-child{
width: 28%;
font-weight: bold;
white-space: nowrap;
}
.exception-var table td pre{
margin: 0;
}
/* Copyright Info */
.copyright{
margin-top: 24px;
padding: 12px 0;
border-top: 1px solid #eee;
}
/* SPAN elements with the classes below are added by prettyprint. */
pre.prettyprint .pln { color: #000 } /* plain text */
pre.prettyprint .str { color: #080 } /* string content */
pre.prettyprint .kwd { color: #008 } /* a keyword */
pre.prettyprint .com { color: #800 } /* a comment */
pre.prettyprint .typ { color: #606 } /* a type name */
pre.prettyprint .lit { color: #066 } /* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 }
pre.prettyprint .tag { color: #008 } /* a markup tag name */
pre.prettyprint .atn { color: #606 } /* a markup attribute name */
pre.prettyprint .atv { color: #080 } /* a markup attribute value */
pre.prettyprint .dec, pre.prettyprint .var { color: #606 } /* a declaration; a variable name */
pre.prettyprint .fun { color: red } /* a function name */
$available = true;
}
// 模块初始化
if ($module && $available) {
// 初始化模块
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}
// 是否自动转换控制器和操作名
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// 获取控制器名
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
$this->controller = $convert ? strtolower($controller) : $controller;
Environment Variables
Server/Request Data
USER |
www |
HOME |
/home/www |
FCGI_ROLE |
RESPONDER |
SCRIPT_FILENAME |
/www/wwwroot/www.pigmentco.com/index.php |
QUERY_STRING |
s=/contact |
REQUEST_METHOD |
GET |
CONTENT_TYPE |
application/x-www-form-urlencoded; charset=utf-8 |
CONTENT_LENGTH |
|
SCRIPT_NAME |
/index.php |
REQUEST_URI |
/contact |
DOCUMENT_URI |
/index.php |
DOCUMENT_ROOT |
/www/wwwroot/www.pigmentco.com |
SERVER_PROTOCOL |
HTTP/1.1 |
REQUEST_SCHEME |
http |
GATEWAY_INTERFACE |
CGI/1.1 |
SERVER_SOFTWARE |
nginx/1.16.1 |
REMOTE_ADDR |
154.208.11.152 |
REMOTE_PORT |
63720 |
SERVER_ADDR |
172.17.52.89 |
SERVER_PORT |
80 |
SERVER_NAME |
www.pigmentco.com |
REDIRECT_STATUS |
200 |
PATH_INFO |
|
HTTP_HOST |
www.pigmentco.com |
HTTP_REFERER |
http://www.baidu.com/search/spider.htm |
HTTP_X_APPLE_TZ |
0 |
HTTP_X_APPLE_STORE_FRONT |
143444,12 |
HTTP_ACCEPT |
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_ENCODING |
gzip, deflate |
HTTP_ACCEPT_LANGUAGE |
zh-CN,zh;q=0.9 |
HTTP_CACHE_CONTROL |
no-cache |
HTTP_CONTENT_TYPE |
application/x-www-form-urlencoded; charset=utf-8 |
HTTP_USER_AGENT |
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2) |
PHP_SELF |
/index.php |
REQUEST_TIME_FLOAT |
1679627925.0571 |
REQUEST_TIME |
1679627925 |
Environment Variablesempty
ThinkPHP Constants
DS |
/ |
__APP_PATH__ |
/www/wwwroot/www.pigmentco.com/app/ |
__ROOT_PATH__ |
/www/wwwroot/www.pigmentco.com/ |
__CONFIG_PATH__ |
/www/wwwroot/www.pigmentco.com/core/config/ |
__RUNTIME_PATH__ |
/www/wwwroot/www.pigmentco.com/core/runtime/ |