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/data/class/SC_MobileImage.php

    r21658 r21776  
    9595            // HTML中のIMGタグを変換後のファイルパスに置換する 
    9696            foreach ($images[1] as $key => $path) { 
     97                // resize_image.phpは除外 
     98                if (stripos($path, ROOT_URLPATH . 'resize_image.php') !== FALSE) { 
     99                    break; 
     100                } 
     101 
    97102                $realpath = html_entity_decode($path, ENT_QUOTES); 
    98103                $realpath = preg_replace('|^' . ROOT_URLPATH . '|', HTML_REALDIR, $realpath); 
Note: See TracChangeset for help on using the changeset viewer.