Ignore:
Timestamp:
2014/05/30 16:56:25 (7 years ago)
Author:
shutta
Message:

#2488 mtb_ownersstore_ipsの削除
mtb_ownersstore_ipsマスターに関連する部分を全て削除。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/upgrade/LC_Page_Upgrade_Base.php

    r23141 r23475  
    2222        $this->skip_load_page_layout = true; 
    2323        parent::init(); 
    24     } 
    25  
    26     public function isValidIP() 
    27     { 
    28         $objLog  = new LC_Upgrade_Helper_Log; 
    29         $masterData = new SC_DB_MasterData_Ex(); 
    30         $arrOstoreIPs = $masterData->getMasterData('mtb_ownersstore_ips'); 
    31  
    32         if (isset($_SERVER['REMOTE_ADDR']) 
    33             && in_array($_SERVER['REMOTE_ADDR'], $arrOstoreIPs)) 
    34         { 
    35             $objLog->log('* ip ok ' . $_SERVER['REMOTE_ADDR']); 
    36  
    37             return true; 
    38         } 
    39         $objLog->log('* refused ip ' . $_SERVER['REMOTE_ADDR']); 
    40  
    41         return false; 
    4224    } 
    4325 
Note: See TracChangeset for help on using the changeset viewer.