From 9026a458a084991bbda2d04b2207832cd878f2fb Mon Sep 17 00:00:00 2001 From: pedro_morgan <pedro_morgan@ispconfig3> Date: Sat, 18 Aug 2007 22:59:59 -0400 Subject: [PATCH] * Ammended config in with $DB connection idea * Minor tweaks to app * Made $conf global in teh tempalte class (its not global in the loader function either) --- interface/lib/classes/tpl.inc.php | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/tpl.inc.php b/interface/lib/classes/tpl.inc.php index 75c30c3..33566c0 100644 --- a/interface/lib/classes/tpl.inc.php +++ b/interface/lib/classes/tpl.inc.php @@ -1,4 +1,12 @@ <?php +/** + * Template Class + * + * @author Kelvin Jones <kelvin@kelvinjones.co.uk> + * @copyright 2002 Active Fish Group + * @version 1.1 + * @package ISPConfig + */ /* vim: set expandtab tabstop=4 shiftwidth=4: */ // +----------------------------------------------------------------------+ @@ -14,7 +22,7 @@ // check to avoid multiple including of class if (!defined('vlibTemplateClassLoaded')) { define('vlibTemplateClassLoaded', 1); - + global $conf; include_once ($conf['classpath'].'/tpl_error.inc.php'); include_once ($conf['classpath'].'/tpl_ini.inc.php'); -- Gitblit v1.9.1