6 * Copyright (c) 1999-2002 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * Contains functions used to do authentication.
14 function is_logged_in() {
16 if ( session_is_registered('user_is_logged_in') ) {
19 include_once( '../functions/display_messages.php' );
20 logout_error( _("You must be logged in to access this page.") );