Skip to content

Instantly share code, notes, and snippets.

@sluc23
Created April 23, 2018 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sluc23/4188ae5c1432872b34813376ce727f49 to your computer and use it in GitHub Desktop.
Save sluc23/4188ae5c1432872b34813376ce727f49 to your computer and use it in GitHub Desktop.
CiviCRM patch with is_readable() for BOA perms issue
--- civicrm/CRM/Extension/ClassLoader.php.original 2018-04-23 14:12:36.774673526 +0200
+++ civicrm/CRM/Extension/ClassLoader.php 2018-04-23 14:14:05.838673697 +0200
@@ -82,7 +82,7 @@
}
$file = $this->getCacheFile();
- if (file_exists($file)) {
+ if (is_readable($file)) {
$loader = require $file;
}
else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment