mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 23:36:44 +02:00
feat: add analytics and unknown useragents
This commit is contained in:
parent
4651d01a84
commit
ec92e65aa4
44 changed files with 3333 additions and 1987 deletions
|
|
@ -1,17 +1,19 @@
|
|||
An uncaught Exception was encountered
|
||||
|
||||
Type: <?= get_class($exception), "\n"; ?>
|
||||
Message: <?= $message, "\n"; ?>
|
||||
Filename: <?= $exception->getFile(), "\n"; ?>
|
||||
Line Number: <?= $exception->getLine(); ?>
|
||||
Type: <?= get_class($exception), "\n" ?>
|
||||
Message: <?= $message, "\n" ?>
|
||||
Filename: <?= $exception->getFile(), "\n" ?>
|
||||
Line Number: <?= $exception->getLine() ?>
|
||||
|
||||
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true) : ?>
|
||||
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true): ?>
|
||||
|
||||
Backtrace:
|
||||
<?php foreach ($exception->getTrace() as $error) : ?>
|
||||
<?php if (isset($error['file'])) : ?>
|
||||
<?= trim('-' . $error['line'] . ' - ' . $error['file'] . '::' . $error['function']) . "\n" ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
<?php foreach ($exception->getTrace() as $error): ?>
|
||||
<?php if (isset($error['file'])): ?>
|
||||
<?= trim(
|
||||
'-' . $error['line'] . ' - ' . $error['file'] . '::' . $error['function']
|
||||
) . "\n" ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue