mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix: clear opcache after app extraction
clear opcache post app update extraction to prevent outdated files issues. opcache.validate_timestamps=0 disables automated file modification checks. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
c5433afecc
commit
43a9fd4b1f
1 changed files with 3 additions and 0 deletions
|
|
@ -332,6 +332,9 @@ class Installer {
|
|||
}
|
||||
OC_Helper::copyr($extractDir, $baseDir);
|
||||
OC_Helper::rmdirr($extractDir);
|
||||
if (function_exists('opcache_reset')) {
|
||||
opcache_reset();
|
||||
}
|
||||
return;
|
||||
}
|
||||
// Signature does not match
|
||||
|
|
|
|||
Loading…
Reference in a new issue