}if (is_file($template)) {// 记录模板文件的更新时间$this->includeFile[$template] = filemtime($template);return $template;}throw new Exception('template not exists:' . $template);}/*** 按标签生成正则* @access private* @param string $tagName 标签名* @return string*/private function getRegex(string $tagName): string
| tag | 可定制装修 |
| USER | www |
| HOME | /home/www |
| 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 | */* |
| HTTP_HOST | www.xiezilou123.com |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | xiezilou123.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 211.149.231.14 |
| REMOTE_PORT | 31709 |
| REMOTE_ADDR | 216.73.216.171 |
| SERVER_SOFTWARE | nginx/1.21.4 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/2.0 |
| DOCUMENT_ROOT | /www/wwwroot/xiezilou123.com/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /tags/lists.html?tag=%E5%8F%AF%E5%AE%9A%E5%88%B6%E8%A3%85%E4%BF%AE |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/tags/lists.html&tag=%E5%8F%AF%E5%AE%9A%E5%88%B6%E8%A3%85%E4%BF%AE |
| SCRIPT_FILENAME | /www/wwwroot/xiezilou123.com/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1792112420.0948 |
| REQUEST_TIME | 1792112420 |