mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 13:21:36 +01:00
- bugfix smarty.class and internal.security_handler
- added compile_check configuration - added all setter/getter methodes
This commit is contained in:
32
libs/sysplugins/method.setdebugtemplate.php
Normal file
32
libs/sysplugins/method.setdebugtemplate.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method setDebugTemplate
|
||||
*
|
||||
* Sets debug template filepath
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user