}
if (is_file($template)) {
// 记录模板文件的更新时间
$this->includeFile[$template] = filemtime($template);
return $template;
}
throw new TemplateNotFoundException('template not exists:' . $template, $template);
}
/**
* 按标签生成正则
* @access private
* @param string $tagName 标签名
* @return string
*/
private function getRegex($tagName)
page | 7 |
USER | www |
HOME | /home/www |
HTTP_HOST | www.ruituschool.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | ruituschool.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.17.157.88 |
REMOTE_PORT | 58770 |
REMOTE_ADDR | 44.199.212.254 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/ruituschool.com |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/category/view/id/2.html?page=7 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/category/view/id/2.html&page=7 |
SCRIPT_FILENAME | /www/wwwroot/ruituschool.com/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711674050.249 |
REQUEST_TIME | 1711674050 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |