- Timestamp:
- 2010/12/31 10:46:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php
r19743 r19802 43 43 function lfMobileCheckCompatibility() { 44 44 if (!SC_MobileUserAgent::isSupported()) { 45 header('Location: ' . URL_ DIR. 'mobile/unsupported/' . DIR_INDEX_URL);45 header('Location: ' . URL_PATH . 'mobile/unsupported/' . DIR_INDEX_URL); 46 46 exit; 47 47 } … … 86 86 */ 87 87 function lfMobileGetExtSessionId() { 88 if (!preg_match('|^' . URL_ DIR. '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) {88 if (!preg_match('|^' . URL_PATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 89 89 return null; 90 90 } … … 406 406 407 407 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); 409 409 $objURL->addQueryString(session_name(), $session_id); 410 410 $url = $objURL->getURL();
Note: See TracChangeset
for help on using the changeset viewer.