From f56d1274c6341730726b3349711e5cf925ab643e Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 20 Sep 2022 10:36:07 +0200 Subject: Fix opcache bug during Web update (#4629) #fix https://github.com/FreshRSS/FreshRSS/issues/4624 #fix https://github.com/FreshRSS/FreshRSS/issues/4605 --- app/Controllers/updateController.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/Controllers/updateController.php') 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', -- cgit v1.2.3