Changeset 18053


Ignore:
Timestamp:
2009/06/08 12:44:50 (17 years ago)
Author:
Seasoft
Message:

現状不要であり、PHP ワーニングを発生させる処理を削除。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php

    r17969 r18053  
    271271        //この商品を買った人はこんな商品も買っています 
    272272        $this->arrRelateProducts = $this->lfGetRelateProducts($tmp_id); 
    273  
    274         // 拡大画像のウィンドウサイズをセット 
    275         if (isset($this->arrFile["main_large_image"])) { 
    276             $image_path = IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"]); 
    277         } else { 
    278             $image_path = ""; 
    279         } 
    280  
    281         list($large_width, $large_height) = getimagesize($image_path); 
    282         $this->tpl_large_width = $large_width + 60; 
    283         $this->tpl_large_height = $large_height + 80; 
    284273 
    285274        $this->lfConvertParam(); 
    … …  
    497486        $this->arrRelateProducts = $this->lfGetRelateProducts($tmp_id); 
    498487 
    499         // 拡大画像のウィンドウサイズをセット 
    500         if (!empty($this->arrFile["main_large_image"])) { 
    501             list($large_width, $large_height) = getimagesize(IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"])); 
    502         } 
    503         $this->tpl_large_width = isset($large_width) ? $large_width + 60 : 0; 
    504         $this->tpl_large_height = isset($large_height) ? $large_height + 80 : 0; 
    505  
    506488        $objView->assignobj($this); 
    507489        $objView->display(SITE_FRAME); 
Note: See TracChangeset for help on using the changeset viewer.