Some fixup:
[squirrelmail.git] / functions / auth.php
CommitLineData
3c13b9fb 1<?php
2
2d367c68 3 /**
4 ** auth.php
5 **
6 ** Contains functions used to do authentication.
7 **
8 ** $Id$
9 **/
3c13b9fb 10
1026ec43 11
2d367c68 12 function is_logged_in () {
13 global $squirrelmail_language;
14
15 if ( session_is_registered('user_is_logged_in') )
16 return;
17
18 set_up_language($squirrelmail_language, true);
19
20 echo "<html><body bgcolor=\"ffffff\">\n" .
21 '<br><br>echo "<center><b>'.
22 _("You must be logged in to access this page.").'</b><br>'.
23 "<a href=\"../src/login.php\" target=\"_top\">"._("Go to the login page")."</a>\n".
24 "</center></body></html>\n";
25 exit;
26 }
3c13b9fb 27
28?>