Ignore:
Timestamp:
2010/03/11 10:35:11 (14 years ago)
Author:
kajiwara
Message:

正式版にナイトリービルド版をマージしてみるテスト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tmp/version-2_5-test/data/class/helper/SC_Helper_Mobile.php

    r18562 r18609  
    3838    /** 
    3939     * EC-CUBE がサポートする携帯端末かどうかをチェックする。 
    40      * 非対応端末の場合は unsupported/index.php へリダイレクトする。 
     40     * 非対応端末の場合は /mobile/unsupported/ へリダイレクトする。 
    4141     * 
    4242     * @return void 
     
    4444    function lfMobileCheckCompatibility() { 
    4545        if (!SC_MobileUserAgent::isSupported()) { 
    46             header('Location: ' . URL_DIR . 'mobile/unsupported/index.php'); 
     46            header('Location: ' . URL_DIR . 'mobile/unsupported/' . DIR_INDEX_URL); 
    4747            exit; 
    4848        } 
     
    390390        $objQuery = new SC_Query; 
    391391 
    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         
    395400        if (!isset($arrRow)) { 
    396401            return false; 
Note: See TracChangeset for help on using the changeset viewer.