Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes a Zend OPcache error #18

Merged
merged 3 commits into from May 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@ Yii Framework 2 composer extension Change Log
2.0.7 under development
-----------------------

- no changes in this release.
- Bug #18: Fixed an error that would occur if the Zend OPcache extension was installed, but its "restrict_api" setting was enabled (angrybrad)


2.0.6 March 21, 2018
Expand Down
2 changes: 1 addition & 1 deletion Installer.php
Expand Up @@ -158,7 +158,7 @@ protected function loadExtensions()
}
// invalidate opcache of extensions.php if exists
if (function_exists('opcache_invalidate')) {
opcache_invalidate($file, true);
@opcache_invalidate($file, true);
}
$extensions = require($file);

Expand Down