diff --git a/library/think/View.php b/library/think/View.php index f47a7d24..8e1bcc78 100644 --- a/library/think/View.php +++ b/library/think/View.php @@ -260,7 +260,7 @@ class View $template = str_replace('.', DS, CONTROLLER_NAME) . $depr . $template; } } - return realpath($path) . DS . $theme . $template . $this->config['view_suffix']; + return realpath($path) . DS . $template . $this->config['view_suffix']; } /**