Merge branch 'develop' of https://github.com/getgrav/grav into develop

This commit is contained in:
Andy Miller
2017-01-27 07:21:08 -07:00
2 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
1. [](#bugfix)
* Fixed an issue when page collection with header-based `sort.by` returns an array [#1264](https://github.com/getgrav/grav/issues/1264)
* Fix `Response` object to handle `303` redirects when `open_basedir` in effect [#1267](https://github.com/getgrav/grav/issues/1267)
* Silence `E_WARNING: Zend OPcache API is restricted by "restrict_api" configuration directive`
# v1.1.14
## 01/18/2017

View File

@@ -69,7 +69,8 @@ trait CompiledFile
// Compile cached file into bytecode cache
if (function_exists('opcache_invalidate')) {
opcache_invalidate($file->filename(), true);
// Silence error if function exists, but is restricted.
@opcache_invalidate($file->filename(), true);
}
}
}