From 807b8b7c1eab82a3e1b067cced8b12caee9de919 Mon Sep 17 00:00:00 2001 From: john Date: Sun, 15 Jul 2018 19:50:13 +0800 Subject: [PATCH] HTML/FlexyFramework/Page.php --- HTML/FlexyFramework/Page.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/HTML/FlexyFramework/Page.php b/HTML/FlexyFramework/Page.php index eed7f99b..d2e56d4a 100644 --- a/HTML/FlexyFramework/Page.php +++ b/HTML/FlexyFramework/Page.php @@ -253,13 +253,11 @@ class HTML_FlexyFramework_Page { $type = isset($this->contentType) ? $this->contentType : 'text/html'; header('Content-Type: '.$type.';charset='.( empty($options->charset) ? 'UTF-8' : $options->charset )); - if (!$this->masterTemplate) { return $this->outputBody(); } + /* master template */ - - $template_engine = new HTML_Template_Flexy(); $template_engine->compile($this->masterTemplate); if (!$this->_cache || !$this->cacheMethod) { -- 2.39.2