Add file logging and try addStyle

This commit is contained in:
2026-04-16 14:42:29 +02:00
parent 8b045752f4
commit af59c0c002

View File

@@ -43,11 +43,14 @@ class Application extends App implements IBootstrap {
} }
} else { } else {
// Debug // Debug
$css = 'body { border: 30px solid green !important; }'; $css = 'body { border: 40px solid orange !important; }';
} }
if ($css) { if ($css) {
Util::addInlineStyle('minimalprofile', $css); Util::addStyle('minimalprofile', $css);
} }
// Also log to file as backup
file_put_contents('/tmp/minimalprofile_debug.log', date('Y-m-d H:i:s') . ' boot called, hidden: ' . print_r($hidden, true) . "\n", FILE_APPEND);
} }
} }