Changeset 1722

Show
Ignore:
Timestamp:
08/30/08 17:50:26 (3 months ago)
Author:
vollmerk
Message:

fixed use_auth=false not correctly building a new session when you had just switched from use_auth=true

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/docs/CHANGELOG

    r1719 r1722  
    55-------------------------------------------------------------------------- 
    66  v.3.5-Alpha1 
     7        - Fixed use_auth = false not correctly re-creating the session if 
     8                you had just switched from use_auth = true 
    79        - Add links to RSS feeds and set default to TRUE in config.dist 
    810        - Fixed Dynamic Random/Related URLs with players that always send 
  • trunk/lib/init.php

    r1702 r1722  
    8686 
    8787/** This is the version.... fluf nothing more... **/ 
    88 $results['version']             = '3.5-Alpha1 (Build 002)'; 
     88$results['version']             = '3.5-Alpha1 (Build 003)'; 
    8989$results['int_config_version']  = '7';  
    9090 
     
    207207        $auth['access'] = '100'; 
    208208        $auth['offset_limit'] = 50; 
    209         if (!vauth::check_session()) {  
     209        if (!vauth::session_exists('interface',$_COOKIE[Config::get('session_name')])) {  
    210210                vauth::create_cookie();  
    211211                vauth::session_create($auth);  
    212212        } 
     213        vauth::check_session();  
    213214        $GLOBALS['user']                = new User(-1); 
    214215        $GLOBALS['user']->fullname      = 'Ampache User';