mirror of
https://github.com/manualdousuario/marreta.git
synced 2026-05-04 06:20:16 +00:00
removido o hawk, implementado monolog
This commit is contained in:
parent
4855f4e23b
commit
4cd475c8ef
8 changed files with 130 additions and 63 deletions
|
|
@ -814,8 +814,8 @@ class URLAnalyzer
|
|||
$brandDiv->appendChild($brandHtml);
|
||||
$body->appendChild($brandDiv);
|
||||
|
||||
// Add debug panel if DEBUG is true / Adicionar painel de depuração se DEBUG for verdadeiro
|
||||
if (DEBUG) {
|
||||
// Add debug panel if LOG_LEVEL is DEBUG / Adicionar painel de depuração se LOG_LEVEL for DEBUG
|
||||
if (LOG_LEVEL === 'DEBUG') {
|
||||
$debugDiv = $dom->createElement('div');
|
||||
$debugDiv->setAttribute('style', 'z-index: 99999; position: fixed; bottom: 10px; right: 10px; background: rgba(0,0,0,0.8); color: #fff; font-size: 13px; line-height: 1.4; padding: 10px; border-radius: 3px; font-family: monospace; max-height: 200px; overflow-y: auto;');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue