Changeset 1553


Ignore:
Timestamp:
Oct 4, 2006, 10:48:18 PM (18 years ago)
Author:
nikrou
Message:

Fix bug 451: Auto login does not work properly
svn merge r1492:1493 from trunk
svn merge r1510:1511 from trunk
svn merge r1521:1522 from trunk
svn merge r1523:1524 from trunk
svn merge r1525:1526 from trunk
auto_login key add to users table:

  • add update script
  • update upgrade_1.5.0.php script
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/index.php

    r1504 r1553  
    3636check_status(ACCESS_GUEST);
    3737
    38 //---------------------------------------------------------------------- logout
    39 if ( isset( $_GET['act'] )
    40      and $_GET['act'] == 'logout'
    41      and isset( $_COOKIE[session_name()] ) )
    42 {
    43   // cookie deletion if exists
    44   $_SESSION = array();
    45   session_unset();
    46   session_destroy();
    47   setcookie(session_name(),'',0,
    48       ini_get('session.cookie_path'), ini_get('session.cookie_domain') );
    49   redirect( make_index_url() );
    50 }
    51 if ($user['is_the_guest'] and !$conf['guest_access'])
    52 {
    53   redirect (get_root_url().'identification.php');
    54 }
    55 
    5638//---------------------------------------------- change of image display order
    5739if (isset($_GET['image_order']))
Note: See TracChangeset for help on using the changeset viewer.