+ }
+ if (x($_SESSION,'mobile-theme')) {
+ unset($_SESSION['mobile-theme']);
+ }
+
+ /// @TODO No absolute path used, maybe risky (security)
+ if (file_exists('home.html')) {
+ if (file_exists('home.css')) {
+ $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.App::get_baseurl().'/home.css'.'" media="all" />';
+ }
+
+ $o .= file_get_contents('home.html');
+ } else {
+ $o .= '<h1>'.((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"), $a->config['sitename']) : "").'</h1>';
+ }