public function fetch($template, $data = [], $config = [])
{
if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
// 获取模板文件名
$template = $this->parseTemplate($template);
SSNI-587SSNI-587,啊边走边做太深了h啊边走边做太深了h,九九国偷自产短视频九九国偷自产短视频}
// 模板不存在 抛出异常
if (!is_file($template)) {
throw new TemplateNotFoundException('template not exists:' . $template, $template);
}
// 记录视图信息
$this->app
->log('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]');
$this->template->fetch($template, $data, $config);
}
think | { "lastIP": "104.149.130.250" } |
USER | www |
HOME | /home/www |
HTTP_HOST | www.gsrhjt.com |
HTTP_USER_AGENT | Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Mobile Safari/537.36 |
HTTP_REFERER | /show/id/104.html |
HTTP_ACCEPT_LANGUAGE | zh-cn |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 |
HTTP_CONNECTION | Keep-Alive |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | gsrhjt.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.18.6.177 |
REMOTE_PORT | 57143 |
REMOTE_ADDR | 104.149.130.250 |
SERVER_SOFTWARE | nginx/1.16.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /mnt/gsrhjt.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /show/id/104.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/show/id/104.html |
SCRIPT_FILENAME | /mnt/gsrhjt.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1611997230.0835 |
REQUEST_TIME | 1611997230 |
VIEW_PATH | /mnt/gsrhjt.com/public/../application/index/template/mobile/ |
DS | / |