Skip to content

Commit

Permalink
Merge pull request #19191 from laurisb/patch-1
Browse files Browse the repository at this point in the history
Improve Opcache detection
  • Loading branch information
rullzer authored Apr 15, 2020
2 parents 3013271 + 8413a4e commit 19171d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/Controller/CheckSetupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ protected function isPHPMailerUsed(): bool {
}

protected function hasOpcacheLoaded(): bool {
return function_exists('opcache_get_status');
return extension_loaded('Zend OPcache');
}

/**
Expand Down

0 comments on commit 19171d7

Please sign in to comment.