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 getCompileDir
|
||||
*
|
||||
* Returns directory of compiled templates
|
||||
*/
|
||||
|
||||
class Smarty_Method_GetCompileDir extends Smarty_Internal_Base {
|
||||
/**
|
||||
/**
|
||||
* Returns directory of compiled templates
|
||||
*
|
||||
* @return array compiled template folder
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
return $this->smarty->compile_dir;
|
||||
}
|
||||
*
|
||||
* @return array compiled template folder
|
||||
*/
|
||||
function GetCompileDir($smarty)
|
||||
{
|
||||
return $this->smarty->compile_dir;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user