Changeset 19786 for branches/version-2_5-dev/html
- Timestamp:
- 2010/12/29 15:11:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/html/require.php
r19713 r19786 30 30 require_once HTML_PATH . HTML2DATA_DIR . 'require_base.php'; 31 31 32 if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) { 33 $path = $matches[1]; 34 } else { 35 $path = ''; 36 } 37 38 if(!preg_match("/resize_image.php/i", $path)) { 32 39 // 携帯端末の場合、モバイルサイトへリダイレクトする 33 40 SC_MobileUserAgent::sfAutoRedirectMobileSite(); … … 35 42 // スマートフォンの場合、リダイレクト 36 43 SC_SmartphoneUserAgent::sfAutoRedirectSmartphoneSite(); 44 exit; 45 } 37 46 38 47 // 絵文字変換 (除去) フィルターを組み込む。
Note: See TracChangeset
for help on using the changeset viewer.