[Added] Trigger 404 error when nothing can be found.

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

Need to trigger a 404 error is nothing can be found to prevent showing empty forum pages.

This will allow other setups to deal with the 404 (pages module, errors plus module, or server side setup).


Director at No Half Pixels Ltd.

15/05/2014 14:59:50

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

The way whmcs sets out module output doesnt allow a 404 to be thrown, so we have included an error message and direct visitor to the search page should a not found error occur.

Added 1.0.2


Director at No Half Pixels Ltd.

11/06/2014 10:53:20