"Has been logged"! "More information"

This commit is contained in:
tobi132 2019-12-03 00:28:25 +01:00
parent 1e2267bd31
commit 1970a00bb6

View File

@ -8,7 +8,7 @@ require LIBS . 'SensitiveException.php';
function exception_handler($exception) {
$message = $exception->getMessage();
if($exception instanceof SensitiveException) {
$message = 'This error is sensitive and will be logged into system/logs/error.log.<br/>View this file for further informations.';
$message = 'This error is sensitive and has been logged into system/logs/error.log.<br/>View this file for more information.';
// log error to file
$f = fopen(LOGS . 'error.log', 'ab');