Ignore:
Timestamp:
2013/08/05 06:10:51 (11 years ago)
Author:
AMUAMU
Message:

#2230 (携帯用画像変換処理で、画面下部の画像が変換されない)
#1596 (Windows環境で、携帯において画像が表示されない場合がある)
の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_MobileImage.php

    r22856 r23025  
    9898                // resize_image.phpは除外 
    9999                if (stripos($path, ROOT_URLPATH . 'resize_image.php') !== FALSE) { 
    100                     break; 
     100                    continue; 
    101101                } 
    102102 
    103103                $realpath = html_entity_decode($path, ENT_QUOTES); 
    104                 $realpath = preg_replace('|^' . ROOT_URLPATH . '|', HTML_REALDIR, $realpath); 
     104                $realpath = substr_replace($realpath, HTML_REALDIR, 0, strlen(ROOT_URLPATH)); 
    105105                $converted = $imageConverter->execute($realpath); 
    106106                if (isset($converted['outputImageName'])) { 
Note: See TracChangeset for help on using the changeset viewer.