mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-06 07:11:37 +01:00
- renamed function names of autoloaded Smarty methods to Smarty_Method_....
- new security_class property (default is Smarty_Security)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method registerDefaultPluginhandlerHandler
|
||||
* Smarty method RegisterDefaultPluginhandlerHandler
|
||||
*
|
||||
* Registers a default plugin handler
|
||||
*
|
||||
@@ -16,7 +16,7 @@
|
||||
* @param object $smarty
|
||||
* @param string $ |array $plugin class/methode name
|
||||
*/
|
||||
function registerDefaultPluginHandler($smarty, $plugin)
|
||||
function Smarty_Method_RegisterDefaultPluginHandler($smarty, $plugin)
|
||||
{
|
||||
if (is_callable($plugin)) {
|
||||
$smarty->default_plugin_handler_func = $plugin;
|
||||
|
||||
Reference in New Issue
Block a user