Ignore:
Timestamp:
2010/12/31 10:46:42 (13 years ago)
Author:
Seasoft
Message:

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある) 一部改修

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php

    r19743 r19802  
    4343    function lfMobileCheckCompatibility() { 
    4444        if (!SC_MobileUserAgent::isSupported()) { 
    45             header('Location: ' . URL_DIR . 'mobile/unsupported/' . DIR_INDEX_URL); 
     45            header('Location: ' . URL_PATH . 'mobile/unsupported/' . DIR_INDEX_URL); 
    4646            exit; 
    4747        } 
     
    8686     */ 
    8787    function lfMobileGetExtSessionId() { 
    88         if (!preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 
     88        if (!preg_match('|^' . URL_PATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 
    8989            return null; 
    9090        } 
     
    406406 
    407407        list($session_id, $next_url, $email) = $arrRow; 
    408         $objURL = new Net_URL(MOBILE_SITE_URL . $next_url); 
     408        $objURL = new Net_URL(MOBILE_HTTP_URL . $next_url); 
    409409        $objURL->addQueryString(session_name(), $session_id); 
    410410        $url = $objURL->getURL(); 
Note: See TracChangeset for help on using the changeset viewer.