X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fauth.php;h=8cddd0024bde4860ca5deb4a99115fbdde26b3a0;hb=1a7e1e97919ece18f4b96cef9bb251a52045da2a;hp=ea692eeb653e1c954c6d59963aea9140f915fa63;hpb=6ee631f7b92f6a205e0841ac40e6b0e763a5a734;p=squirrelmail.git diff --git a/functions/auth.php b/functions/auth.php index ea692eeb..8cddd002 100644 --- a/functions/auth.php +++ b/functions/auth.php @@ -12,12 +12,14 @@ return; define ('auth_php', true); - include '../functions/i18n.php'; - function is_logged_in () { + global $squirrelmail_language; + if (session_is_registered('user_is_logged_in')) return; - + + set_up_language($squirrelmail_language, true); + echo "\n"; echo "

"; echo "
";