mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-09 21:04:28 +02:00
- updated paths in development folder
This commit is contained in:
@@ -245,12 +245,12 @@ class Smarty extends Smarty_Internal_TemplateBase {
|
|||||||
// create template object if necessary
|
// create template object if necessary
|
||||||
($template instanceof $this->template_class)? $_template = $template :
|
($template instanceof $this->template_class)? $_template = $template :
|
||||||
$_template = $this->createTemplate ($template, $parent , $cache_id, $compile_id);
|
$_template = $this->createTemplate ($template, $parent , $cache_id, $compile_id);
|
||||||
// $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting)
|
$_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting)
|
||||||
// ? $this->error_reporting : error_reporting() &~E_NOTICE);
|
? $this->error_reporting : error_reporting() &~E_NOTICE);
|
||||||
// return redered template
|
// return redered template
|
||||||
$_output = $_template->getRenderedTemplate();
|
$_output = $_template->getRenderedTemplate();
|
||||||
$_template->rendered_content = null;
|
$_template->rendered_content = null;
|
||||||
// error_reporting($_smarty_old_error_level);
|
error_reporting($_smarty_old_error_level);
|
||||||
return $_output;
|
return $_output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user