diff --git a/core/src/conf/bootstrap_context.php b/core/src/conf/bootstrap_context.php index f0dd981aa2..ab09060256 100644 --- a/core/src/conf/bootstrap_context.php +++ b/core/src/conf/bootstrap_context.php @@ -149,6 +149,6 @@ function AjaXplorer_autoload($className) } $resWriteBootstrapCache = @file_put_contents(AJXP_PLUGINS_BOOTSTRAP_CACHE, $content); } -if(!isSet($resWriteBootstrapCache) || $resWriteBootstrapCache !== true){ +if(!isSet($resWriteBootstrapCache) || $resWriteBootstrapCache !== false){ require_once(AJXP_PLUGINS_BOOTSTRAP_CACHE); } \ No newline at end of file diff --git a/core/src/conf/bootstrap_repositories.php b/core/src/conf/bootstrap_repositories.php index eac26ff59c..330fc5f8b8 100644 --- a/core/src/conf/bootstrap_repositories.php +++ b/core/src/conf/bootstrap_repositories.php @@ -185,6 +185,6 @@ } $resWriteRepoCache = @file_put_contents(AJXP_PLUGINS_REPOSITORIES_CACHE, $content); } -if(!isSet($resWriteRepoCache) || $resWriteRepoCache !== true){ +if(!isSet($resWriteRepoCache) || $resWriteRepoCache === true){ include_once(AJXP_PLUGINS_REPOSITORIES_CACHE); }