mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-01 21:01:37 +01:00
- removed all internal calls of Smarty::instance()
- fixed code in double quoted strings
This commit is contained in:
@@ -11,22 +11,18 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class setDebugTemplate
|
||||
*
|
||||
* Sets debug template filepath
|
||||
*/
|
||||
|
||||
class Smarty_Method_SetDebugTemplate extends Smarty_Internal_Base {
|
||||
/**
|
||||
* Sets debug template filepath
|
||||
*
|
||||
* @param string $ array debug template filepath
|
||||
*/
|
||||
public function execute($debug_tpl)
|
||||
{
|
||||
$this->smarty->debug_tpl = $debug_tpl;
|
||||
return;
|
||||
}
|
||||
/**
|
||||
* Sets debug template filepath
|
||||
*
|
||||
* @param string $ array debug template filepath
|
||||
*/
|
||||
function SetDebugTemplate(smarty, $debug_tpl)
|
||||
{
|
||||
$smarty->debug_tpl = $debug_tpl;
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user