Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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