mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 21:31:48 +01:00
- removed all internal calls of Smarty::instance()
- fixed code in double quoted strings
This commit is contained in:
@@ -11,21 +11,17 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
/**
|
||||
* Returns directory of cache files
|
||||
*
|
||||
* @return array cache folder
|
||||
*/
|
||||
public function getCacheDir($smarty)
|
||||
{
|
||||
return $this->smarty->cache_dir;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user