mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 19:34:27 +02:00
- fixed missing quotes in include_php.php
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
|
||||||
|
10/27/2009
|
||||||
|
- fixed missing quotes in include_php.php
|
||||||
|
|
||||||
10/27/2009
|
10/27/2009
|
||||||
- fixed typo in method.register_resource
|
- fixed typo in method.register_resource
|
||||||
- pass {} through as literal
|
- pass {} through as literal
|
||||||
|
@@ -61,7 +61,7 @@ class Smarty_Internal_Compile_Include_Php extends Smarty_Internal_CompileBase {
|
|||||||
$_output .= 'ob_start(); include' . $_once . ' (\'' . $_file . '\'); $_smarty_tpl->assign(' . $_assign . ',ob_get_contents()); ob_end_clean();?>';
|
$_output .= 'ob_start(); include' . $_once . ' (\'' . $_file . '\'); $_smarty_tpl->assign(' . $_assign . ',ob_get_contents()); ob_end_clean();?>';
|
||||||
} else {
|
} else {
|
||||||
$this->compiler->has_output = true;
|
$this->compiler->has_output = true;
|
||||||
$_output .= 'include' . $once . ' (' . $_file . '); ?>';
|
$_output .= 'include' . $_once . ' (\'' . $_file . '\'); ?>';
|
||||||
}
|
}
|
||||||
return $_output;
|
return $_output;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user