v1.0.26 - appinfo/app.php loads CSS + boot() logs to tmp
This commit is contained in:
6
appinfo/app.php
Normal file
6
appinfo/app.php
Normal 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);
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user