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

Changeset 4892


Ignore:
Timestamp:
Jan 10, 2008, 1:22:13 PM (14 years ago)
Author:
ebihara
Message:

#1765:db_member_c_member_id4username_encrypted()の結果をセッションで持つようにした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/db/member.php

    r4646 r4892  
    17991799function db_member_c_member_id4username_encrypted($username, $is_ktai = false)
    18001800{
    1801     if (!IS_SLAVEPNE) {
    1802         $username = t_decrypt($username);
    1803     }
    1804     return db_member_c_member_id4username($username, $is_ktai);
     1801    if (!isset($_SESSION['username'])){
     1802        if (!IS_SLAVEPNE) {
     1803            $username = t_decrypt($username);
     1804        }
     1805        $_SESSION['username'] = db_member_c_member_id4username($username, $is_ktai);
     1806    }
     1807    return $_SESSION['username'];
    18051808}
    18061809
Note: See TracChangeset for help on using the changeset viewer.