I specified $UploadDir to "images". $UploadDir = "images"; When I upload a file PMWiki creates a "Main" directory inside the images directory and puts the uploaded file into it. I wanted it to go into "images", not "images/Main". What is going on?