mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 21:31:48 +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 getCacheLifetime
|
||||
* Smarty method GetCacheLifetime
|
||||
*
|
||||
* Returns lifetime of cache files
|
||||
*
|
||||
@@ -20,7 +20,7 @@
|
||||
*
|
||||
* @return integer cache file lifetime
|
||||
*/
|
||||
function getCacheLifetime($smarty)
|
||||
function Smarty_Method_GetCacheLifetime($smarty)
|
||||
{
|
||||
return $smarty->cache_lifetime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user