mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-20 07:55:20 +02:00
32 lines
470 B
PHP
32 lines
470 B
PHP
![]() |
<?php
|
||
|
|
||
|
/**
|
||
|
* Smarty method getCacheDir
|
||
|
*
|
||
|
* Returns directory of cache files
|
||
|
*
|
||
|
* @package Smarty
|
||
|
* @subpackage SmartyMethod
|
||
|
* @author Uwe Tews
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Smarty class getCacheDir
|
||
|
*
|
||
|
* Returns directory of cache files
|
||
|
*/
|
||
|
|
||
|
class Smarty_Method_GetCacheDir extends Smarty_Internal_Base {
|
||
|
/**
|
||
|
* Returns directory of cache files
|
||
|
*
|
||
|
* @return array cache folder
|
||
|
*/
|
||
|
public function execute()
|
||
|
{
|
||
|
return $this->smarty->cache_dir;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|