From d44266b7476dcd4ab3467e3ca5dca2cb2147bf50 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 24 Apr 2018 12:19:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/view/driver/Php.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/view/driver/Php.php b/library/think/view/driver/Php.php index b5ebe133..f594a438 100644 --- a/library/think/view/driver/Php.php +++ b/library/think/view/driver/Php.php @@ -77,7 +77,7 @@ class Php App::$debug && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info'); extract($data, EXTR_OVERWRITE); - include $template; + include $this->template; } /**