{
// 检测模板目录
$dir = dirname($cacheFile);
if (!is_dir($dir)) {
mkdir($dir, 0755, true);
}
// 生成模板缓存文件
if (false === file_put_contents($cacheFile, $content)) {
throw new Exception('cache write error:' . $cacheFile, 11602);
}
}
/**
* 读取编译编译
* @access public
* @param string $cacheFile 缓存的文件名
* @param array $vars 变量数组
/search_php | |
mod | forum |
srchtxt | 活动 |
formhash | eaa29742 |
searchsubmit | true |
source | hotsearch |
think | { "refresh_times": 1, "last_time": 1711643343 } |
PATH | C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ |
SYSTEMROOT | C:\Windows |
COMSPEC | C:\Windows\system32\cmd.exe |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
WINDIR | C:\Windows |
PHPRC | D:/phpstudy_pro/Extensions/php/php7.0.9nts |
_FCGI_SHUTDOWN_EVENT_ | 12612 |
HTTP_CONNECTION | close |
SCRIPT_NAME | /index.php |
REQUEST_URI | /search.php?mod=forum&srchtxt=%E6%B4%BB%E5%8A%A8&formhash=eaa29742&searchsubmit=true&source=hotsearch |
QUERY_STRING | /search.php&mod=forum&srchtxt=%E6%B4%BB%E5%8A%A8&formhash=eaa29742&searchsubmit=true&source=hotsearch |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | /search.php&mod=forum&srchtxt=%E6%B4%BB%E5%8A%A8&formhash=eaa29742&searchsubmit=true&source=hotsearch |
REDIRECT_URL | /search.php |
REMOTE_PORT | 55146 |
SCRIPT_FILENAME | D:/qiche/index.php |
SERVER_ADMIN | admin@example.com |
CONTEXT_DOCUMENT_ROOT | D:/qiche |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | D:/qiche |
REMOTE_ADDR | 54.173.43.215 |
SERVER_PORT | 80 |
SERVER_ADDR | 172.27.206.29 |
SERVER_NAME | www.hebcar.net |
SERVER_SOFTWARE | Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02 |
SERVER_SIGNATURE | |
SystemRoot | C:\Windows |
HTTP_HOST | www.hebcar.net |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711643343.4561 |
REQUEST_TIME | 1711643343 |
ENTER_NAME | HOME |
APP_PATH | D:\qiche/app/ |
DS | \ |
url | /search.php?mod=forum&srchtxt=%E6%B4%BB%E5%8A%A8&formhash=eaa29742&searchsubmit=true&source=hotsearch |
ref | Resource |
ent | claudebot |
site | http://se.seamusdavey-fitzpatrick.com |
road | /?road=/search.php?mod=forum&srchtxt=%E6%B4%BB%E5%8A%A8&formhash=eaa29742&searchsubmit=true&source=hotsearch |
regs | @Baidu|Sogou|Yisou|Haosou|Spider|So.com|Sm.cn@i |
area | false |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |
SITEID | 1 |
SITEALIAS | zh |
DEFAULTSITEID | 1 |