projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
807b8b7
)
HTML/FlexyFramework/Page.php
author
john
<john@roojs.com>
Sun, 15 Jul 2018 11:50:34 +0000
(19:50 +0800)
committer
john
<john@roojs.com>
Sun, 15 Jul 2018 11:50:34 +0000
(19:50 +0800)
HTML/FlexyFramework/Page.php
patch
|
blob
|
history
diff --git
a/HTML/FlexyFramework/Page.php
b/HTML/FlexyFramework/Page.php
index
d2e56d4
..
eed7f99
100644
(file)
--- a/
HTML/FlexyFramework/Page.php
+++ b/
HTML/FlexyFramework/Page.php
@@
-253,11
+253,13
@@
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) {