Skip to content

A free, self-hostable news aggregator…

Fix opcache bug during Web update (#4629)

Alexandre Alapetitef56d1274c634
diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.php
index d9b817412..675bd7def 100644
--- a/app/Controllers/updateController.php
+++ b/app/Controllers/updateController.php
@@ -259,6 +259,10 @@ class FreshRSS_update_Controller extends FreshRSS_ActionController {
}
}
+ if (function_exists('opcache_reset')) {
+ opcache_reset();
+ }
+
if ($res === true) {
Minz_Request::forward(array(
'c' => 'update',