1
1
Fork 0

Merge pull request #7093 from nupplaphil/bug/mod_home

Bugfixing Home
This commit is contained in:
Hypolite Petovan 2019-05-05 08:36:37 -04:00 committed by GitHub
commit 155d541860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;