- Timestamp:
- 2010/03/11 10:35:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/class/helper/SC_Helper_Mobile.php
r18562 r18609 38 38 /** 39 39 * EC-CUBE がサポートする携帯端末かどうかをチェックする。 40 * 非対応端末の場合は unsupported/index.phpへリダイレクトする。40 * 非対応端末の場合は /mobile/unsupported/ へリダイレクトする。 41 41 * 42 42 * @return void … … 44 44 function lfMobileCheckCompatibility() { 45 45 if (!SC_MobileUserAgent::isSupported()) { 46 header('Location: ' . URL_DIR . 'mobile/unsupported/ index.php');46 header('Location: ' . URL_DIR . 'mobile/unsupported/' . DIR_INDEX_URL); 47 47 exit; 48 48 } … … 390 390 $objQuery = new SC_Query; 391 391 392 $arrRow = $objQuery->getrow('dtb_mobile_kara_mail', 'session_id, next_url, email', 393 'token = ? AND email IS NOT NULL AND receive_date >= ?', 394 array($token, date('Y-m-d H:i:s', time() - MOBILE_SESSION_LIFETIME))); 392 $arrRow = $objQuery->getRow( 393 'dtb_mobile_kara_mail' 394 ,'session_id, next_url, email' 395 ,'token = ? AND email IS NOT NULL AND receive_date >= ?' 396 ,array($token, date('Y-m-d H:i:s', time() - MOBILE_SESSION_LIFETIME)) 397 ,DB_FETCHMODE_ORDERED 398 ); 399 395 400 if (!isset($arrRow)) { 396 401 return false;
Note: See TracChangeset
for help on using the changeset viewer.