mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Display full path to the LOGS directory in SensitiveException
This commit is contained in:
parent
a55ec208aa
commit
a26538c3f0
@ -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.<br/>View this file for more information.';
|
||||
$message = 'This error is sensitive and has been logged into ' . LOGS . 'error.log.<br/>View this file for more information.';
|
||||
|
||||
// log error to file
|
||||
$f = fopen(LOGS . 'error.log', 'ab');
|
||||
|
Loading…
x
Reference in New Issue
Block a user