mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
move set_path() call below the conditional bracket
This commit is contained in:
@@ -81,8 +81,8 @@ function smarty_function_config_load($params, &$smarty)
|
|||||||
$smarty->_conf_obj->booleanize = $smarty->config_booleanize;
|
$smarty->_conf_obj->booleanize = $smarty->config_booleanize;
|
||||||
$smarty->_conf_obj->read_hidden = $smarty->config_read_hidden;
|
$smarty->_conf_obj->read_hidden = $smarty->config_read_hidden;
|
||||||
$smarty->_conf_obj->fix_newlines = $smarty->config_fix_newlines;
|
$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),
|
$_config_vars = array_merge($smarty->_conf_obj->get($_file),
|
||||||
$smarty->_conf_obj->get($_file, $_section));
|
$smarty->_conf_obj->get($_file, $_section));
|
||||||
if(function_exists('var_export')) {
|
if(function_exists('var_export')) {
|
||||||
|
Reference in New Issue
Block a user