Bugfixing Home

This commit is contained in:
Philipp Holzer 2019-05-05 10:47:08 +02:00
parent 0046e62077
commit dc9c9040e5
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
1 changed files with 2 additions and 2 deletions

View 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;