From 96e1934b031fd2ac4460d25a318fc17c232ac793 Mon Sep 17 00:00:00 2001 From: mohrt Date: Thu, 19 Jun 2003 13:18:15 +0000 Subject: [PATCH] fix logic for _is_compiled() --- 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 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';