mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-03 13:51:36 +01:00
- bugfix smarty.class and internal.security_handler
- added compile_check configuration - added all setter/getter methodes
This commit is contained in:
31
libs/sysplugins/method.getdebugtemplate.php
Normal file
31
libs/sysplugins/method.getdebugtemplate.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method getDebugTemplate
|
||||
*
|
||||
* Returns debug template filepath
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class getDebugTemplate
|
||||
*
|
||||
* Returns debug template filepath
|
||||
*/
|
||||
|
||||
class Smarty_Method_GetDebugTemplate extends Smarty_Internal_Base {
|
||||
/**
|
||||
* Returns directory of cache files
|
||||
*
|
||||
* @return string debug template filepath
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
return $this->smarty->debug_tpl;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user