Ignore:
Timestamp:
2011/03/02 20:12:36 (15 years ago)
Author:
nanasess
bzr:base-revision:
svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_5-dev:20465
bzr:committer:
Kentaro Ohkouchi <[email protected]>
bzr:file-ids:

data/class/pages/error/LC_Page_Error.php 15141@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Ferror%2FLC_Page_Error.php
data/class/pages/error/LC_Page_Error_SystemError.php 16931@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Ferror%2FLC_Page_Error_SystemError.php
data/require_safe.php 18500@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fversion-2_4-dev%2Fdata%2Frequire_safe.php
html/handle_error.php 18500@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fversion-2_4-dev%2Fhtml%2Fhandle_error.php
html/require.php 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Frequire.php
bzr:mapping-version:
v4
bzr:merge:

[email protected]
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
[email protected]
bzr:revno:
3193
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:text-revisions:

data/class/pages/error/LC_Page_Error.php [email protected]
data/class/pages/error/LC_Page_Error_SystemError.php [email protected]
data/require_safe.php [email protected]
html/handle_error.php [email protected]
html/require.php [email protected]
bzr:timestamp:
2011-03-02 20:12:25.098000050 +0900
bzr:user-agent:
bzr2.2.1+bzr-svn1.0.4
svn:original-date:
2011-03-02T11:12:25.098000Z
Message:

#989(エラー発生時に, テンプレートの取得が正常にできない)

  • DBエラー発生時に, エラー画面で DB 接続しないよう修正
  • エラー画面へリダイレクトした場合でも, モバイルの絵文字を表示するよう修正
Location:
branches/version-2_5-dev/html
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/html/handle_error.php

    r20116 r20466  
    9595 */ 
    9696function displaySystemError($errstr = null) { 
    97     if (SC_Utils_Ex::sfIsMobileSite()) { 
     97    if (SC_Display::detectDevice() == DEVICE_TYPE_MOBILE) { 
    9898        ob_clean(); 
     99        ob_start(array('SC_MobileEmoji', 'handler')); 
    99100    } else { 
    100101        // 最下層以外の出力用バッファをクリアし、出力のバッファリングを解除する 
  • branches/version-2_5-dev/html/require.php

    r19820 r20466  
    2929require_once HTML_REALDIR . HTML2DATA_DIR . 'require_base.php'; 
    3030 
    31 if ( Net_UserAgent_Mobile::isMobile() === true ){ 
    32     define('MOBILE_SITE', true); 
     31if (SC_Display::detectDevice() == DEVICE_TYPE_MOBILE){ 
     32    define('MOBILE_SITE', true); 
    3333    $objMobile = new SC_Helper_Mobile_Ex(); 
    3434    $objMobile->sfMobileInit(); 
    3535    ob_start(); 
    36      
     36 
    3737} else { 
    38     define('FRONT_FUNCTION_PC_SITE', true);  
    39      
    40     // 絵文字変換 (除去) フィルターを組み込む。 
    41     ob_start(array('SC_MobileEmoji', 'handler')); 
     38    define('FRONT_FUNCTION_PC_SITE', true); 
     39 
     40    // 絵文字変換 (除去) フィルターを組み込む。 
     41    ob_start(array('SC_MobileEmoji', 'handler')); 
    4242} 
    4343?> 
Note: See TracChangeset for help on using the changeset viewer.