Primer commit del sistema avantika sin cambios
This commit is contained in:
28
libs/sysplugins/smarty_method_getcachelifetime.php
Executable file
28
libs/sysplugins/smarty_method_getcachelifetime.php
Executable file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method GetCacheLifetime
|
||||
*
|
||||
* Returns lifetime of cache files
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class getCacheLifetime
|
||||
*
|
||||
* Returns lifetime of cache files
|
||||
*/
|
||||
/**
|
||||
* Returns lifetime of cache files
|
||||
*
|
||||
* @return integer cache file lifetime
|
||||
*/
|
||||
function Smarty_Method_GetCacheLifetime($smarty)
|
||||
{
|
||||
return $smarty->cache_lifetime;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user