Update upload.class.php

Добавил разрешение
Merge pull request #8 from yorulez/patch-4

Update upload.class.php