From dc9c9040e5eec735ef20838afa8ccd64dc106b2c Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 5 May 2019 10:47:08 +0200 Subject: [PATCH] Bugfixing Home --- src/Module/Home.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Module/Home.php b/src/Module/Home.php index adcdb02a63..673701c28d 100644 --- a/src/Module/Home.php +++ b/src/Module/Home.php @@ -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; -- 2.39.5