Replacing missing file
-
Hi,
I faced that situatiuon :
if the file you want to replace do not exists, the file permission of the new file become 000What I did is adding this line :
if($original_file_perms == 0) $original_file_perms = 436;
here : enable-media-replace/upload.php > l.243
after
// save original file permissions $original_file_perms = fileperms($current_file) & 0777;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Replacing missing file’ is closed to new replies.