Pinchie / RaspiPass

RaspiPass - Homepass software for the Raspberry Pi 3
46 stars 5 forks source link

Need to implement an error page for web-side errors #10

Closed Pinchie closed 7 years ago

Pinchie commented 7 years ago

Direct with relevant message to page. Required since so many recent errors are related to the web side, and may be related to non-existent files

Pinchie commented 7 years ago

Created errordirect() function in index.php to create file in /var/raspipass/web-error.log, before directing to error.php to output the contents