Add file logging and try addStyle
This commit is contained in:
@@ -43,11 +43,14 @@ class Application extends App implements IBootstrap {
|
||||
}
|
||||
} else {
|
||||
// Debug
|
||||
$css = 'body { border: 30px solid green !important; }';
|
||||
$css = 'body { border: 40px solid orange !important; }';
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user