Ignore:
Timestamp:
2012/04/24 20:44:23 (10 years ago)
Author:
shutta
Message:

#1771 resize_image.phpのモバイル対応
resize_image.phpがモバイルでも利用できるように修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/html/require.php

    r21474 r21776  
    3939 
    4040if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) { 
    41     $objMobile = new SC_Helper_Mobile_Ex(); 
    42     $objMobile->sfMobileInit(); 
     41    // resize_image.phpは除外 
     42    if (stripos($_SERVER['REQUEST_URI'], ROOT_URLPATH . 'resize_image.php') === FALSE) { 
     43        $objMobile = new SC_Helper_Mobile_Ex(); 
     44        $objMobile->sfMobileInit(); 
     45    } 
    4346} 
Note: See TracChangeset for help on using the changeset viewer.