]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Home.php
Use DI::baseUrl() for Search\Index.php
[friendica.git] / src / Module / Home.php
index fc8817b31b6846d507096bd8775aced5a9d31501..3d04849cf46d1c0f1158ef95b61d18847ae9168d 100644 (file)
@@ -42,11 +42,11 @@ class Home extends BaseModule
                        $customHome = $homeFilePath;
 
                        if (file_exists($cssFilePath)) {
-                               $app->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $app->getBaseURL() . '/home.css' . '" media="all" />';
+                               $app->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/home.css' . '" media="all" />';
                        }
                }
 
-               $login = Login::form($app->query_string, $config->get('config', 'register_policy') === Register::CLOSED ? 0 : 1);
+               $login = Login::form(DI::args()->getQueryString(), $config->get('config', 'register_policy') === Register::CLOSED ? 0 : 1);
 
                $content = '';
                Hook::callAll('home_content', $content);