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:
25
libs/sysplugins/method.enablecompilecheck.php
Normal file
25
libs/sysplugins/method.enablecompilecheck.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method enableCompileCheck
|
||||
*
|
||||
* Enable compile checking
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class enableCompileCheck
|
||||
*
|
||||
* Enable compile checking
|
||||
*/
|
||||
class Smarty_Method_EnableCompileCheck extends Smarty_Internal_Base {
|
||||
public function execute()
|
||||
{
|
||||
return $this->smarty->compile_check = true;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user