mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-07 07:41: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:
@@ -17,7 +17,7 @@
|
||||
* @param string $type name of resource
|
||||
* @param array $functions array of functions to handle resource
|
||||
*/
|
||||
function register_resource($smarty, $type, $functions)
|
||||
function Smarty_Method_Register_Resource($smarty, $type, $functions)
|
||||
{
|
||||
if (count($functions) == 4) {
|
||||
$smarty->_plugins['resource'][$type] =
|
||||
|
||||
Reference in New Issue
Block a user