squirrelmail/functions/auth.php
Tyler Akins de965920f1 Removed a lot of the warnings generated when PHP has all warnings enabled.
This is not done yet, but it is a VERY good start.
Added $Id$ tags to a lot of the files.
2001-01-30 17:22:38 +00:00

23 lines
353 B
PHP

<?php
/**
** auth.php
**
** Contains functions used to do authentication.
**
** $Id$
**/
$auth_php = true;
function is_logged_in () {
if (!session_is_registered("user_is_logged_in")) {
echo _("You must login first.");
echo "</body></html>\n\n";
exit;
} else {
return true;
}
}
?>