[Svn-src-all:903] [version-2_5-dev 19791] rv 19786

Seasoft admin @ mail.ec-cube.net
2010年 12月 30日 (木) 12:50:11 JST


Subversion committed to /home/svn/open 19791
http://svn.ec-cube.net/open_trac/changeset/19791
┌────────────────────────────┐
│更新者 :  Seasoft                                      │
│更新日時:  2010-12-30 12:50:11 +0900 (木, 30 12月 2010)│
└────────────────────────────┘

Log:
--------------------------------------------------------
rv 19786
  * 0バイト出力のケースあり。
  * チケット不明。
  * コスト高い。正規表現でなく、bool で評価するように実装可能と思われる。
#880(mobile/sphoneディレクトリを削除)
  * PHPエラー発生箇所の対応だが、このチケットにより不要となるルーチンのため削除。

Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_5-dev/html/require.php

変更: branches/version-2_5-dev/html/require.php
===================================================================
--- branches/version-2_5-dev/html/require.php	2010-12-29 15:30:49 UTC (rev 19790)
+++ branches/version-2_5-dev/html/require.php	2010-12-30 03:50:11 UTC (rev 19791)
@@ -29,20 +29,8 @@
 define('FRONT_FUNCTION_PC_SITE', true);
 require_once HTML_PATH . HTML2DATA_DIR . 'require_base.php';
 
-if (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) {
-        $path = $matches[1];
-    } else {
-        $path = '';
-}
-
-if(!preg_match("/resize_image.php/i", $path)) {
-// 携帯端末の場合、モバイルサイトへリダイレクトする
-SC_MobileUserAgent::sfAutoRedirectMobileSite();
-
 // スマートフォンの場合、リダイレクト
 SC_SmartphoneUserAgent::sfAutoRedirectSmartphoneSite();
-exit;
-}
 
 // 絵文字変換 (除去) フィルターを組み込む。
 ob_start(array('SC_MobileEmoji', 'handler'));




Svn-src-all メーリングリストの案内