mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fix logic for _is_compiled()
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user