]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
.
[friendica.git] / mod / home.php
index 0320c1b3988a5b20bd2cda7fc02bf443de78a120..76318b157ca0dc7ad93e0190b1dfefe27efb2fb4 100644 (file)
@@ -22,10 +22,13 @@ function home_content(&$a) {
 
        if(x($_SESSION,'theme'))
                unset($_SESSION['theme']);
+       if(x($_SESSION,'mobile-theme'))
+               unset($_SESSION['mobile-theme']);
 
-       $o .= '<h1>' . ((x($a->config,'sitename')) ? sprintf( t("Welcome to %s") ,$a->config['sitename']) : "" ) . '</h1>';
        if(file_exists('home.html'))
                $o .= file_get_contents('home.html');
+       else    $o .= '<h1>' . ((x($a->config,'sitename')) ? sprintf( t("Welcome to %s") ,$a->config['sitename']) : "" ) . '</h1>';
+
 
        $o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);