Skip to content

Commit 7bb0ac8

Browse files
committed
installing extensions needs to reset the opcache
1 parent 68253c2 commit 7bb0ac8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/plugins/extension/helper/extension.php

+3
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,9 @@ public function installArchive($file, $overwrite = false, $base = '')
10711071

10721072
// cleanup
10731073
if ($tmp) io_rmdir($tmp, true);
1074+
if (function_exists('opcache_reset')) {
1075+
opcache_reset();
1076+
}
10741077

10751078
return $installed_extensions;
10761079
}

0 commit comments

Comments
 (0)