From a26538c3f0d59c16582b76164fa424b6527f087a Mon Sep 17 00:00:00 2001 From: tobi132 Date: Tue, 3 Dec 2019 00:37:23 +0100 Subject: [PATCH] Display full path to the LOGS directory in SensitiveException --- system/exception.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/exception.php b/system/exception.php index 600299d0..5c76d66b 100644 --- a/system/exception.php +++ b/system/exception.php @@ -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 has been logged into system/logs/error.log.
View this file for more information.'; + $message = 'This error is sensitive and has been logged into ' . LOGS . 'error.log.
View this file for more information.'; // log error to file $f = fopen(LOGS . 'error.log', 'ab');