Changeset 22791 for branches/version-2_12-dev/data/class/SC_MobileImage.php
- Timestamp:
- 2013/05/01 00:50:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_MobileImage.php
r22567 r22791 30 30 * 画像変換クラス 31 31 */ 32 class SC_MobileImage 32 class SC_MobileImage 33 33 { 34 34 /** … … 100 100 // resize_image.phpは除外 101 101 if (stripos($path, ROOT_URLPATH . 'resize_image.php') !== FALSE) { 102 break;102 continue; 103 103 } 104 104 105 105 $realpath = html_entity_decode($path, ENT_QUOTES); 106 $realpath = preg_replace('|^' . ROOT_URLPATH . '|', HTML_REALDIR, $realpath);106 $realpath = substr_replace($realpath, HTML_REALDIR, 0, strlen(ROOT_URLPATH)); 107 107 $converted = $imageConverter->execute($realpath); 108 108 if (isset($converted['outputImageName'])) {
Note: See TracChangeset
for help on using the changeset viewer.