public function write($cacheFile, $content) { // 检测模板目录 $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); } } /** * 读取编译编译 * @param string $cacheFile 缓存的文件名 * @param array $vars 变量数组 * @return void */
atFile->write('/webapp/www/x1/runti...', '<?php if (!defined('...') in Template.php line 348
atTemplate->compiler('<?php if (!defined('...', '/webapp/www/x1/runti...') in Template.php line 182
atTemplate->fetch('/webapp/www/x1/templ...', ['auto_tpl_base_layout' => '/webapp/www/x1/appli...', 'admin' => false, 'userdb' => false, ...], []) in Think.php line 86
atThink->fetch('/webapp/www/x1/templ...', ['auto_tpl_base_layout' => '/webapp/www/x1/appli...', 'admin' => false, 'userdb' => false, ...], []) in View.php line 163
atView->fetch('/webapp/www/x1/templ...', ['auto_tpl_base_layout' => '/webapp/www/x1/appli...', 'admin' => false, 'userdb' => false, ...], ['__ROOT__' => '', '__URL__' => '/index.php/index/plu...', '__STATIC__' => '/public/static', ...], []) in Controller.php line 120
atController->fetch('/webapp/www/x1/templ...', ['admin' => false, 'userdb' => false, 'timestamp' => 1565336114, ...], [], []) in Base.php line 244
atBase->fetch('/webapp/www/x1/templ...') in Login.php line 21
atLogin->index() in common.php line 461
at plugin_action('adminlogin', 'login', 'index', []) in Plugin.php line 37
atPlugin->execute()
atReflectionMethod->invokeArgs(object(Plugin), []) in App.php line 348
atApp::invokeMethod([object(Plugin), 'execute'], []) in App.php line 612
atApp::module(['index', 'plugin', 'execute'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 461
atApp::exec(['type' => 'module', 'module' => ['index', 'plugin', 'execute'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
atApp::run() in start.php line 19
at require('/webapp/www/x1/think...') in index.php line 29