Return 404 in index.php for non existant pages
Closes #318 (closed)
What does this MR do?
Catches access to non-existant class in index.php
to return 404 instead of internal server error.
How confident are you it won't break things if deployed?
quite, tested a lot :-)
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s))