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; } /**