diff --git a/libs/plugins/function.config_load.php b/libs/plugins/function.config_load.php index bb2557e7..0e9352ae 100644 --- a/libs/plugins/function.config_load.php +++ b/libs/plugins/function.config_load.php @@ -69,7 +69,7 @@ function smarty_function_config_load($params, &$smarty) if($smarty->force_compile || !file_exists($_compile_file) || ($smarty->compile_check - && $smarty->_is_compiled($_file_path, $_compile_file))) { + && !$smarty->_is_compiled($_file_path, $_compile_file))) { // compile config file if(!is_object($smarty->_conf_obj)) { require_once SMARTY_DIR . $smarty->config_class . '.class.php';