File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
administrator/components/com_joomlaupdate Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1406,6 +1406,9 @@ private function processTypeFileUncompressed(): bool
14061406 if ($ this ->dataReadLength == 0 ) {
14071407 // Before processing file data, ensure permissions are adequate
14081408 $ this ->setCorrectPermissions ($ this ->fileHeader ->file );
1409+
1410+ // This file is changed during the script's operation so we clear the status cache.
1411+ clearstatcache ($ this ->fileHeader ->file );
14091412 }
14101413
14111414 // Open the output file
@@ -1497,6 +1500,9 @@ private function processTypeFileCompressed(): bool
14971500 // Before processing file data, ensure permissions are adequate
14981501 $ this ->setCorrectPermissions ($ this ->fileHeader ->file );
14991502
1503+ // This file is changed during the script's operation so we clear the status cache.
1504+ clearstatcache ($ this ->fileHeader ->file );
1505+
15001506 // Open the output file
15011507 $ outfp = @fopen ($ this ->fileHeader ->realFile , 'wb ' );
15021508
You can’t perform that action at this time.
0 commit comments