6 ** Contains functions used to do authentication.
11 if (defined ('auth_php'))
13 define ('auth_php', true);
15 function is_logged_in () {
16 global $squirrelmail_language;
18 if (session_is_registered('user_is_logged_in'))
21 set_up_language($squirrelmail_language, true);
23 echo "<html><body bgcolor=\"ffffff\">\n";
26 echo "<b>"._("You must be logged in to access this page.")."</b><br>";
27 echo "<a href=\"../src/login.php\" target=\"_top\">"._("Go to the login page")."</a>\n";
29 echo "</body></html>\n";