Bugfix in website.inc

Fixes a bug when saving settings with a conflicting port. It didn't throw an exception correctly so the webgui were stuck without any response.