fix config_load filepath bug

This commit is contained in:
mohrt
2003-12-12 14:38:42 +00:00
parent 4b767113a2
commit 5b14130cef
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -1,3 +1,4 @@
- fix config_file path bug (Marc Cabadas, Monte)
- fix 'is even by' and 'is odd by' logic (Monte)
- add day_empty, month_empty, year_empty and all_empty attributes to
html_select_date (messju)

View File

@@ -81,7 +81,7 @@ 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));