v1.0.26 - appinfo/app.php loads CSS + boot() logs to tmp

This commit is contained in:
2026-04-16 16:32:06 +02:00
parent af59c0c002
commit 08ba8c67a2
2 changed files with 7 additions and 1 deletions

6
appinfo/app.php Normal file
View File

@@ -0,0 +1,6 @@
<?php
/**
* Load CSS on every page
*/
\OCP\Util::addStyle('minimalprofile', 'minimalprofile');
file_put_contents('/tmp/mp_app.log', date('Y-m-d H:i:s') . ' app.php loaded' . "\n", FILE_APPEND);

View File

@@ -47,7 +47,7 @@ class Application extends App implements IBootstrap {
}
if ($css) {
Util::addStyle('minimalprofile', $css);
Util::addInlineStyle($css);
}
// Also log to file as backup