mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -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
35930a4331
commit
c7b69931f3
1 changed files with 3 additions and 0 deletions
|
|
@ -341,6 +341,9 @@ class Installer {
|
|||
// otherwise we just copy the outer directory
|
||||
$this->copyRecursive($extractDir, $baseDir);
|
||||
Files::rmdirr($extractDir);
|
||||
if (function_exists('opcache_reset')) {
|
||||
opcache_reset();
|
||||
}
|
||||
return;
|
||||
}
|
||||
// Signature does not match
|
||||
|
|
|
|||
Loading…
Reference in a new issue