Ignore:
Timestamp:
2013/11/18 15:20:47 (10 years ago)
Author:
m_uehara
Message:

#2465 r23269 - r23272, r23274 - r23275, r23277 - r23278 をマージ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_Session.php

    r23124 r23279  
    6868    public function IsSuccess() 
    6969    { 
    70         if ($this->cert == CERT_STRING) { 
     70       if ($this->cert == CERT_STRING) { 
    7171            $masterData = new SC_DB_MasterData_Ex(); 
    72             $admin_path = preg_replace('/\/+/', '/', $_SERVER['SCRIPT_NAME']); 
    73             $arrPERMISSION = $masterData->getMasterData('mtb_permission'); 
    74             if (isset($arrPERMISSION[$admin_path])) { 
     72            $admin_path = strtolower(preg_replace('/\/+/', '/', $_SERVER['SCRIPT_NAME']));             
     73            $arrPERMISSION = array_change_key_case($masterData->getMasterData('mtb_permission')); 
     74            if (isset($arrPERMISSION[$admin_path])) {  
    7575                // 数値が自分の権限以上のものでないとアクセスできない。 
    7676                if ($arrPERMISSION[$admin_path] < $this->authority) { 
Note: See TracChangeset for help on using the changeset viewer.