Removed ereg and ereg_replace calls. Using simple string manipulation.
[squirrelmail.git] / functions / auth.php
index 594567fd577a5147e49bb67ee7e00e4d66accd74..f302a496e021bdb2ddb3f6d2d23f25a1489a0c23 100644 (file)
@@ -5,12 +5,13 @@
  **
  ** Contains functions used to do authentication.
  **
+ ** $Id$
  **/
 
    $auth_php = true;
 
    function is_logged_in () {
-      if (!session_is_registered("user_is_logged_in")) {
+      if (!session_is_registered('user_is_logged_in')) {
          echo _("You must login first.");
          echo "</body></html>\n\n";
          exit;