Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Wrong test for write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Oct 27, 2015
1 parent 789b087 commit ff82afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/conf/bootstrap_context.php
Expand Up @@ -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);
}
2 changes: 1 addition & 1 deletion core/src/conf/bootstrap_repositories.php
Expand Up @@ -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);
}

0 comments on commit ff82afc

Please sign in to comment.