diff --git a/mod/home.php b/mod/home.php index 76318b157c..f703263a2c 100644 --- a/mod/home.php +++ b/mod/home.php @@ -25,8 +25,12 @@ function home_content(&$a) { if(x($_SESSION,'mobile-theme')) unset($_SESSION['mobile-theme']); - if(file_exists('home.html')) - $o .= file_get_contents('home.html'); + if(file_exists('home.html')){ + if(file_exists('home.css')){ + $a->page['htmlhead'] .= '';} + + $o .= file_get_contents('home.html');} + else $o .= '

' . ((x($a->config,'sitename')) ? sprintf( t("Welcome to %s") ,$a->config['sitename']) : "" ) . '

';