From dcff5718f345f55f7ea81f18d1f086facde4eacf Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Mon, 20 Aug 2007 23:14:51 -0400
Subject: [PATCH] * Using new ISPC_*_PATH constants * Adding new data schema (to be moved shortly * no more $conf['classpath']

---
 interface/lib/classes/tpl.inc.php |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/interface/lib/classes/tpl.inc.php b/interface/lib/classes/tpl.inc.php
index 2343747..fe254b1 100644
--- a/interface/lib/classes/tpl.inc.php
+++ b/interface/lib/classes/tpl.inc.php
@@ -22,12 +22,12 @@
 //
 // $Id: class.tpl.inc.php,v 1.1 2003/07/08 12:31:10 platinum Exp $
 
-//** check to avoid multiple including of class
+//** check and avoid multiple loading 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');
+   	include_once (ISPC_CLASS_PATH.'/tpl_error.inc.php');
+   	include_once (ISPC_CLASS_PATH.'/tpl_ini.inc.php');
 
     class tpl{
     
@@ -1361,8 +1361,8 @@
         function setCacheExtension() {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'setCacheExtension()');}
     } // << end class Def
 
-    //include_once ($conf['classpath'].'/vlibTemplate/debug.php');
-    include_once ($conf['classpath'].'/tpl_cache.inc.php');
+    //include_once (ISPC_CLASS_PATH.'/vlibTemplate/debug.php');
+    include_once (ISPC_CLASS_PATH.'/tpl_cache.inc.php');
 
 } // << end if(!defined())..
 ?>
\ No newline at end of file

--
Gitblit v1.9.1