• mitchlee83

    (@mitchlee83)


    This code doesn’t seem to like it if the file is completely missing. I updated to allow for missing file replacement.

    // save original file permissions
    if(file_exists($current_file))
    $original_file_perms = fileperms($current_file) & 0777;
    else
    $original_file_perms = 0777;

  • The topic ‘Replacing Missing Files’ is closed to new replies.