Ignore:
Timestamp:
08/25/08 18:49:18 (4 years ago)
Author:
hverton
Message:

Merged trunk revisions 1668:1690 into the PLi-Fusion branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PLi-Fusion/includes/user_functions.php

    r1668 r1691  
    5656} 
    5757 
    58 // Check if a user is logging in 
     58// Check if a user wants to logging in 
    5959if (isset($_POST['login'])) { 
    6060    $auth_result = false; 
     
    9797} 
    9898 
    99 // login session expired? 
    100 if (!empty($_SESSION['login_expire']) && $_SESSION['login_expire'] < time()) { 
     99// if not in the process of posting a form, did the login session expired? 
     100if (count($_POST)==0 && !empty($_SESSION['login_expire']) && $_SESSION['login_expire'] < time()) { 
    101101    // clear the login info from the session 
    102102    unset($_SESSION['user']); 
Note: See TracChangeset for help on using the changeset viewer.