put SMARTY_DIR on Config_File require

This commit is contained in:
mohrt
2001-07-17 18:24:57 +00:00
parent 1636977970
commit 833509933e
3 changed files with 3 additions and 3 deletions

View File

@@ -548,7 +548,7 @@ class Smarty
if ($this->_conf_obj === null) {
/* Prepare the configuration object. */
if (!class_exists('Config_File'))
include_once 'Config_File.class.php';
include_once SMARTY_DIR.'Config_File.class.php';
$this->_conf_obj = new Config_File($this->config_dir);
} else
$this->_conf_obj->set_path($this->config_dir);

View File

@@ -4084,7 +4084,7 @@ OUTPUT:
{popup_init}
{* create a link with a popup window when you move your mouse over *}
<A href="mypage.html" {popup text="This link takes you to my page!}>mypage</A>
<A href="mypage.html" {popup text="This link takes you to my page!"}>mypage</A>
{* you can use html, links, etc in your popup text *}
<A href="mypage.html" {popup sticky=true caption="mypage contents"

View File

@@ -548,7 +548,7 @@ class Smarty
if ($this->_conf_obj === null) {
/* Prepare the configuration object. */
if (!class_exists('Config_File'))
include_once 'Config_File.class.php';
include_once SMARTY_DIR.'Config_File.class.php';
$this->_conf_obj = new Config_File($this->config_dir);
} else
$this->_conf_obj->set_path($this->config_dir);