Файловый менеджер - Редактировать - /home/clickysoft/public_html/securebeans.clickysoft.net/vendor/bugsnag/bugsnag/utility/bugsnag-prepend.php
Назад
<?php require_once 'vendor/autoload.php'; register_shutdown_function(function () { $lastError = error_get_last(); if (!is_null($lastError)) { $client = Bugsnag\Client::make(getenv('BUGSNAG_API_KEY')); if ($client->shouldIgnoreErrorCode($lastError['type'])) { return; } $report = Bugsnag\Report::fromPHPError( $client->getConfig(), $lastError['type'], $lastError['message'], $lastError['file'], $lastError['line'], true ); $report->setSeverity('error'); $report->setUnhandled(true); $report->setSeverityReason([ 'type' => 'unhandledException', ]); $client->notify($report); $client->flush(); } });
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка