- removed all internal calls of Smarty::instance()

- fixed code in double quoted strings
This commit is contained in:
Uwe.Tews
2009-08-08 17:28:23 +00:00
parent fc9b7eef10
commit d2d8c8925b
111 changed files with 952 additions and 1313 deletions

View File

@@ -11,21 +11,17 @@
*/
/**
* Smarty class getPluginsDir
*
* Returns directory of plugins
*/
class Smarty_Method_GetPluginsDir extends Smarty_Internal_Base {
/**
* Returns directory of plugins
*
* @return array plugins folder
*/
public function execute()
{
return $this->smarty->plugins_dir;
}
/**
* Returns directory of plugins
*
* @return array plugins folder
*/
function getPluginsDir($smarty)
{
return $smarty->plugins_dir;
}
?>