Changeset 20966
- Timestamp:
- 2011/05/31 21:21:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/SC_Session.php
r20926 r20966 66 66 /* 認証成功の判定 */ 67 67 function IsSuccess() { 68 global $arrPERMISSION; 69 if($this->cert == CERT_STRING) { 70 $admin_path = preg_replace('/\/+/', '/', $_SERVER['PHP_SELF']); 71 $masterData = new SC_DB_MasterData_Ex(); 72 $this->arrPERMISSION = $masterData->getMasterData("mtb_permission"); 73 if(isset($this->arrPERMISSION[$admin_path])) { 68 if ($this->cert == CERT_STRING) { 69 $masterData = new SC_DB_MasterData_Ex(); 70 $admin_path = preg_replace('/\/+/', '/', $_SERVER['PHP_SELF']); 71 $this->arrPERMISSION = $masterData->getMasterData("mtb_permission"); 72 if (isset($this->arrPERMISSION[$admin_path])) { 74 73 // 数値が自分の権限以上のものでないとアクセスできない。 75 if ($this->arrPERMISSION[$admin_path] < $this->authority) {74 if ($this->arrPERMISSION[$admin_path] < $this->authority) { 76 75 return AUTH_ERROR; 77 76 }
Note: See TracChangeset
for help on using the changeset viewer.