piwik/piwik — pull request #6303 by stackcoder (2014-09-25 18:07:50+00:00)
Title: Ignore any opcache_invalidate errors

Some webhosters with opcache enabled might disable functions like this for security reasons. This should prevent foreign applications from deleting cached things.

Without ignoring this error piwik is unusable and will always shows the error message:
```
There is an error. Please report the message (...)
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in /piwik/core/CacheFile.php on line 219
```

This call should treat the same way as opcache_reset() in core/Filesystem.php added with faffbd68b41a00a0e220138285094f517c07778d

Other functions which might be disabled:
- opcache_reset
- opcache_get_configuration
- opcache_get_status
- opcache_compile_file