commit
155d541860
|
@ -41,8 +41,8 @@ class Home extends BaseModule
|
||||||
$customHome = '';
|
$customHome = '';
|
||||||
$defaultHeader = ($config->get('config', 'sitename') ? L10n::t('Welcome to %s', $config->get('config', 'sitename')) : '');
|
$defaultHeader = ($config->get('config', 'sitename') ? L10n::t('Welcome to %s', $config->get('config', 'sitename')) : '');
|
||||||
|
|
||||||
$homeFilePath = $app->getBaseURL() . '/home.html';
|
$homeFilePath = $app->getBasePath() . '/home.html';
|
||||||
$cssFilePath = $app->getBaseURL() . '/home.css';
|
$cssFilePath = $app->getBasePath() . '/home.css';
|
||||||
|
|
||||||
if (file_exists($homeFilePath)) {
|
if (file_exists($homeFilePath)) {
|
||||||
$customHome = $homeFilePath;
|
$customHome = $homeFilePath;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user