Ignore:
Timestamp:
2011/01/19 15:46:57 (13 years ago)
Author:
Seasoft
Message:

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

  • パラメータ名の変更 URL_PATH → ROOT_URLPATH
File:
1 edited

Legend:

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

    r19943 r19972  
    4343    function lfMobileCheckCompatibility() { 
    4444        if (!SC_MobileUserAgent::isSupported()) { 
    45             header('Location: ' . URL_PATH . 'unsupported/' . DIR_INDEX_URL); 
     45            header('Location: ' . ROOT_URLPATH . 'unsupported/' . DIR_INDEX_URL); 
    4646            exit; 
    4747        } 
     
    8686     */ 
    8787    function lfMobileGetExtSessionId() { 
    88         if (!preg_match('|^' . URL_PATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 
     88        if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 
    8989            return null; 
    9090        } 
Note: See TracChangeset for help on using the changeset viewer.