diff --git a/root/usr/share/mozilla-mcd/firefox.php b/root/usr/share/mozilla-mcd/firefox.php index fb70afc..86888e6 100644 --- a/root/usr/share/mozilla-mcd/firefox.php +++ b/root/usr/share/mozilla-mcd/firefox.php @@ -29,6 +29,10 @@ if(isset($_SERVER['QUERY_STRING']) && preg_match('/^.+@' . DOMAIN . '$/', $_SERV break; } } + $url = HOME_URL; + if (preg_match('/^https?:\/\//', $user[0]['labeleduri'][0])) + $url = $user[0]['labeleduri'][0]; + } else { exit; @@ -49,13 +53,14 @@ else { // Home page +("browser.startup.homepage", "'..'"); +("browser.startup.page", 1); ("startup.homepage_override_url", ""); ("startup.homepage_welcome_url", "");