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

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

Location:
branches/version-2_12-dev/data/class
Files:
2 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); 
  • branches/version-2_12-dev/data/class/pages/LC_Page_ResizeImage.php

    r21764 r21776  
    5454        parent::process(); 
    5555        $this->action(); 
    56         $this->sendResponse(); 
    5756    } 
    5857 
Note: See TracChangeset for help on using the changeset viewer.