]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Home.php
Merge pull request #13090 from abanink/feature-openwebauth
[friendica.git] / src / Module / Home.php
index 74cc88d30d95d032afd8f74d91ce5fb5f114dc3c..fbba889a883af7839d36b7999a3e719d08536820 100644 (file)
@@ -69,7 +69,7 @@ class Home extends BaseModule
                        $customHome = $homeFilePath;
 
                        if (file_exists($cssFilePath)) {
-                               DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/home.css' . '" media="all" />';
+                               DI::page()->registerStylesheet('home.css', 'all');
                        }
                }