mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
*** empty log message ***
This commit is contained in:
@@ -482,7 +482,7 @@ class Smarty
|
|||||||
\*======================================================================*/
|
\*======================================================================*/
|
||||||
function fetch($_smarty_tpl_file, $_smarty_cache_id = null, $_smarty_compile_id = null, $_smarty_display = false)
|
function fetch($_smarty_tpl_file, $_smarty_cache_id = null, $_smarty_compile_id = null, $_smarty_display = false)
|
||||||
{
|
{
|
||||||
$_smarty_old_error_level = error_reporting(E_ALL & ~E_NOTICE);
|
$_smarty_old_error_level = error_reporting(error_reporting() & ~E_NOTICE);
|
||||||
|
|
||||||
if (!$this->debugging && $this->debugging_ctrl == 'URL'
|
if (!$this->debugging && $this->debugging_ctrl == 'URL'
|
||||||
&& strstr($GLOBALS['QUERY_STRING'], $this->_smarty_debug_id)) {
|
&& strstr($GLOBALS['QUERY_STRING'], $this->_smarty_debug_id)) {
|
||||||
|
@@ -482,7 +482,7 @@ class Smarty
|
|||||||
\*======================================================================*/
|
\*======================================================================*/
|
||||||
function fetch($_smarty_tpl_file, $_smarty_cache_id = null, $_smarty_compile_id = null, $_smarty_display = false)
|
function fetch($_smarty_tpl_file, $_smarty_cache_id = null, $_smarty_compile_id = null, $_smarty_display = false)
|
||||||
{
|
{
|
||||||
$_smarty_old_error_level = error_reporting(E_ALL & ~E_NOTICE);
|
$_smarty_old_error_level = error_reporting(error_reporting() & ~E_NOTICE);
|
||||||
|
|
||||||
if (!$this->debugging && $this->debugging_ctrl == 'URL'
|
if (!$this->debugging && $this->debugging_ctrl == 'URL'
|
||||||
&& strstr($GLOBALS['QUERY_STRING'], $this->_smarty_debug_id)) {
|
&& strstr($GLOBALS['QUERY_STRING'], $this->_smarty_debug_id)) {
|
||||||
|
Reference in New Issue
Block a user