mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-10 23:04:30 +02:00
"Has been logged"! "More information"
This commit is contained in:
parent
1e2267bd31
commit
1970a00bb6
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user