Update upload.php

database.inc.php already includes settings.inc.php
Merge pull request #4 from benwaffle/patch-1

Update upload.php