From 4766e9e10c141a75a14a1440dc63eb1d8a5ada8c Mon Sep 17 00:00:00 2001 From: pedro_morgan <pedro_morgan@ispconfig3> Date: Sun, 19 Aug 2007 00:59:09 -0400 Subject: [PATCH] * Introducing the sb_local.php.skel file to keep a local configuration --- interface/lib/classes/tpl_ini.inc.php | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/interface/lib/classes/tpl_ini.inc.php b/interface/lib/classes/tpl_ini.inc.php index 48e0044..a7bd06e 100644 --- a/interface/lib/classes/tpl_ini.inc.php +++ b/interface/lib/classes/tpl_ini.inc.php @@ -45,8 +45,9 @@ class vlibIni{ - /** config vars for vlibTemplate */ - public static function vlibTemplate () { + /** Returns $array of config vars for vlibTemplate */ + public static function vlibTemplate() + { global $conf; @@ -88,8 +89,8 @@ /* the following are only used by the vlibTemplateCache class. */ - // TODO: triggers a notice as its not set - 'CACHE_DIRECTORY' => $conf['template']['cache_dir'], + // pedro notes:: triggers a notice as its not set - was $conf['template']['cache_dir'], + 'CACHE_DIRECTORY' => $conf['cache_dir'], // Directory where the cached filesystem // will be set up (full path, and must be writable) // '/' or '\' off the end of the directory. @@ -104,7 +105,7 @@ - /** config vars for vlibDate */ + /** Returns $array of config vars for vlibDate */ public function vlibDate() { return array( 'DEFAULT_LANG' => 'de' ); //* default language for the date displays @@ -112,5 +113,6 @@ }// << end class vlibIni + } // << if Defined ?> \ No newline at end of file -- Gitblit v1.9.1