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:
Daniel Kesselberg 2025-05-30 18:00:16 +02:00
parent 35930a4331
commit c7b69931f3
No known key found for this signature in database
GPG key ID: 4A81C29F63464E8F

View file

@ -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