cvs: smarty /libs/plugins function.config_load.php
| From: | Monte Ohrt | Date: | Thu, 19 Jun 2003 13:18:15 +0000 |
| Subject: | cvs: smarty /libs/plugins function.config_load.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-667@lists.php.net to get a copy of this message | ||
mohrt Thu Jun 19 09:18:15 2003 EDT
Modified files:
/smarty/libs/plugins function.config_load.php
Log:
fix logic for _is_compiled()
Index: smarty/libs/plugins/function.config_load.php
diff -u smarty/libs/plugins/function.config_load.php:1.9
smarty/libs/plugins/function.config_load.php:1.10
--- smarty/libs/plugins/function.config_load.php:1.9 Tue Jun 17 10:11:57 2003
+++ smarty/libs/plugins/function.config_load.php Thu Jun 19 09:18:15 2003
@@ -69,7 +69,7 @@
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';