corrected env/site error in upload.php