From cafc422417b168b550a73011c4913f36bf867db5 Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 4 Jun 2001 16:52:44 +0000 Subject: [PATCH] *** empty log message *** --- Smarty.class.php | 2 +- libs/Smarty.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Smarty.class.php b/Smarty.class.php index e9fd6626..5c1267c0 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -178,7 +178,7 @@ class Smarty /* Prepare the configuration object. */ if (!class_exists('Config_File')) - include_once 'Config_File.class.php'; + include_once dirname(__FILE__) . '/Config_File.class.php'; $this->_conf_obj = new Config_File($this->config_dir); } diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index e9fd6626..5c1267c0 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -178,7 +178,7 @@ class Smarty /* Prepare the configuration object. */ if (!class_exists('Config_File')) - include_once 'Config_File.class.php'; + include_once dirname(__FILE__) . '/Config_File.class.php'; $this->_conf_obj = new Config_File($this->config_dir); }