X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fauth.php;h=8cddd0024bde4860ca5deb4a99115fbdde26b3a0;hb=9c1991480545e1f667fc0e675e7fbd76e619fd58;hp=daacc762332834791c17be2ec0d23f0b59d1ea8d;hpb=a3ba65d4bbfb6301a120fc2979a0216654ebaff7;p=squirrelmail.git diff --git a/functions/auth.php b/functions/auth.php index daacc762..8cddd002 100644 --- a/functions/auth.php +++ b/functions/auth.php @@ -10,12 +10,16 @@ if (defined ('auth_php')) return; - define ('auth_php', true); - + define ('auth_php', true); + 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 "
";