false, 'error' => 'Arbeitsverzeichnis konnte nicht angelegt werden: ' . $exception->getMessage(), ]; } } // 2. OPcache caches compiled bytecode keyed by path and mtime. The deploy // just replaced PHP files underneath a running process, so without this // the shop can keep serving the previous release until the cache expires // on its own. if (function_exists('opcache_reset') && ini_get('opcache.enable')) { $notes[] = opcache_reset() ? 'opcache_reset' : 'opcache_reset_failed'; } manageClientLog('INFO', 'shopAfterUpdate finished', [ 'from_version' => (string) ($context['from_version'] ?? ''), 'to_version' => (string) ($context['to_version'] ?? ''), 'notes' => $notes, ]); return ['success' => true]; }