Fixes a race condition leading to file coruption and PHP crashes when writing the cache index file. Handles concurrency properly by using a temporary file and an atomic rename() instead of file_put_contents(), which is not atomic, on a file which is potentially accessed by many processes at the same time
5.8 KiB
5.8 KiB