Changeset 23271
- Timestamp:
- 2013/11/18 11:13:56 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_1/data/class/SC_Session.php
r23124 r23271 68 68 public function IsSuccess() 69 69 { 70 70 if ($this->cert == CERT_STRING) { 71 71 $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])) { 75 75 // 数値が自分の権限以上のものでないとアクセスできない。 76 76 if ($arrPERMISSION[$admin_path] < $this->authority) {
Note: See TracChangeset
for help on using the changeset viewer.