- revert output buffer flushing on display, echo content again because possible problems when PHP files had

characters (newline} after ?> at file end https://github.com/smarty-php/smarty/issues/187
This commit is contained in:
uwetews
2016-02-19 16:10:17 +01:00
parent 0735ff9605
commit 3e463c1be0
3 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,8 @@
 ===== 3.1.30-dev ===== (xx.xx.xx)  ===== 3.1.30-dev ===== (xx.xx.xx)
19.02.2016
- revert output buffer flushing on display, echo content again because possible problems when PHP files had
characters (newline} after ?> at file end https://github.com/smarty-php/smarty/issues/187
14.02.2016 14.02.2016
- new tag {make_nocache} read NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/110 - new tag {make_nocache} read NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/110
- optimization of sub-template processing - optimization of sub-template processing

View File

@@ -121,7 +121,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/** /**
* smarty version * smarty version
*/ */
const SMARTY_VERSION = '3.1.30-dev/44'; const SMARTY_VERSION = '3.1.30-dev/45';
/** /**
* define variable scopes * define variable scopes

View File

@@ -180,8 +180,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
) { ) {
echo $this->smarty->ext->_filterHandler->runFilter('output', ob_get_clean(), $this); echo $this->smarty->ext->_filterHandler->runFilter('output', ob_get_clean(), $this);
} else { } else {
ob_end_flush(); echo ob_get_clean();
flush();
} }
} }
if ($this->smarty->debugging) { if ($this->smarty->debugging) {