ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Jan 11, 2008, 11:23:28 PM (15 years ago)
Author:
ogawa
Message:

#1766:OpenPNE_Authインスタンス作成処理の共通化

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/ktai/do/o_login.php

    r4912 r4917  
    2626        @session_regenerate_id();
    2727       
    28         $auth_config = get_auth_config(true);
    29         $auth_config['options']['advancedsecurity'] = false;
    30         $auth = new OpenPNE_Auth($auth_config['storage'], $auth_config['options'],true);
    31         $this->_auth =& $auth;
     28        $config = get_auth_config(true);
     29        $auth = new OpenPNE_Auth($config);
    3230        $auth->setExpire($GLOBALS['OpenPNE']['ktai']['session_lifetime']);
    3331        $auth->setIdle($GLOBALS['OpenPNE']['ktai']['session_idletime']);
     32        $this->_auth =& $auth;
    3433       
    3534        if (LOGIN_CHECK_ENABLE) {
     
    6564        }
    6665
    67         $_SESSION['c_member_id'] = $c_member_id;
    6866        db_member_do_access($c_member_id);
    6967
Note: See TracChangeset for help on using the changeset viewer.