]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Home.php
Fix searching for contacts
[friendica.git] / src / Module / Home.php
index adcdb02a63202e1809e25bb8c4aad8024aeb878f..673701c28d68dfbb3dc1baffd96cc0b32ba9062d 100644 (file)
@@ -41,8 +41,8 @@ class Home extends BaseModule
                $customHome = '';
                $defaultHeader = ($config->get('config', 'sitename') ? L10n::t('Welcome to %s', $config->get('config', 'sitename')) : '');
 
-               $homeFilePath = $app->getBaseURL() . '/home.html';
-               $cssFilePath = $app->getBaseURL() . '/home.css';
+               $homeFilePath = $app->getBasePath() . '/home.html';
+               $cssFilePath = $app->getBasePath() . '/home.css';
 
                if (file_exists($homeFilePath)) {
                        $customHome = $homeFilePath;