X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhome.php;h=f703263a2c6a532831bcfc5431c1e944e53ee0ae;hb=660bd39efad52b1c69bd8dd0ca27141b81f84ca5;hp=76318b157ca0dc7ad93e0190b1dfefe27efb2fb4;hpb=190ab46e18ec161a161fbeef01f412ae093b283f;p=friendica.git 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']) : "" ) . '

';