- change of filenames in sysplugins folder for internal spl_autoload function

- lexer/parser changed for increased compilation speed
This commit is contained in:
Uwe.Tews
2009-10-31 00:44:58 +00:00
parent 6efbb3ee58
commit cf379474fd
150 changed files with 2127 additions and 2028 deletions

View File

@@ -0,0 +1,29 @@
<?php
/**
* Smarty method Unregister_Compiler_Function
*
* Unregister a Smarty compiler function plugin
*
* @package Smarty
* @subpackage SmartyMethod
* @author Uwe Tews
*/
/**
* Unregister a Smarty compiler function plugin
*/
/**
* Unregisters compiler function
*
* @param string $compiler_tag name of template function
*/
function unregister_compiler_function($smarty, $compiler_tag)
{
if (isset($smarty->registered_plugins[$compiler_tag]) && $smarty->registered_plugins[$compiler_tag][0] == 'compiler') {
unset($smarty->registered_plugins[$compiler_tag]);
}
}
?>