- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/upgrade/LC_Page_Upgrade_Base.php
r22567 r22796 12 12 * @version $Id$ 13 13 */ 14 class LC_Page_Upgrade_Base extends LC_Page_Ex 15 { 16 function isValidIP() 17 { 14 class LC_Page_Upgrade_Base extends LC_Page_Ex { 15 function isValidIP() { 18 16 $objLog = new LC_Upgrade_Helper_Log; 19 17 $masterData = new SC_DB_MasterData_Ex(); … … 36 34 * @return boolean 37 35 */ 38 function autoUpdateEnable($product_id) 39 { 36 function autoUpdateEnable($product_id) { 40 37 $where = 'module_id = ?'; 41 38 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 58 55 * @return string|object レスポンスボディ|エラー時にはPEAR::Errorオブジェクトを返す. 59 56 */ 60 function request($mode, $arrParams = array(), $arrCookies = array()) 61 { 57 function request($mode, $arrParams = array(), $arrCookies = array()) { 62 58 $objReq = new HTTP_Request(); 63 59 $objReq->setUrl(OSTORE_URL . 'upgrade/index.php'); … … 80 76 } 81 77 82 function isLoggedInAdminPage() 83 { 78 function isLoggedInAdminPage() { 84 79 $objSess = new SC_Session_Ex(); 85 80 … … 95 90 * @return string 96 91 */ 97 function createSeed() 98 { 92 function createSeed() { 99 93 return sha1(uniqid(rand(), true) . time()); 100 94 } 101 95 102 function getPublicKey() 103 { 96 function getPublicKey() { 104 97 $objQuery =& SC_Query_Ex::getSingletonInstance(); 105 98 $arrRet = $objQuery->select('*', 'dtb_ownersstore_settings'); … … 112 105 * オーナーズストアからの POST のため, トークンチェックしない. 113 106 */ 114 function doValidToken() 115 { 107 function doValidToken() { 116 108 // nothing. 117 109 }
Note: See TracChangeset
for help on using the changeset viewer.