From d7311e2692684eacb2d3c585fae1ee1814eeac10 Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 12 Dec 2003 19:45:11 +0000 Subject: [PATCH] move set_path() call below the conditional bracket --- libs/plugins/function.config_load.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/plugins/function.config_load.php b/libs/plugins/function.config_load.php index f5ccd317..1f57b0e2 100644 --- a/libs/plugins/function.config_load.php +++ b/libs/plugins/function.config_load.php @@ -81,8 +81,8 @@ function smarty_function_config_load($params, &$smarty) $smarty->_conf_obj->booleanize = $smarty->config_booleanize; $smarty->_conf_obj->read_hidden = $smarty->config_read_hidden; $smarty->_conf_obj->fix_newlines = $smarty->config_fix_newlines; - $smarty->_conf_obj->set_path($_config_dir); } + $smarty->_conf_obj->set_path($_config_dir); $_config_vars = array_merge($smarty->_conf_obj->get($_file), $smarty->_conf_obj->get($_file, $_section)); if(function_exists('var_export')) {