﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
1303	Programmcode Reste in der Klasse products.php	Archetim	somebody	"Beginnend bei Zeile 524 ff.
{{{
    //get products image, imageinfo array
    $products_image = $this->productImage($array['products_image'], $image);    
    $p_img = substr($products_image, strlen(DIR_WS_BASE));
    $img_attr = '';
    if (file_exists($p_img)) {
      list($width, $height, $type, $img_attr) = getimagesize($p_img);
    }
}}}
Das Array $img_attr wird im Array $productDataAdds als

'PRODUCTS_IMAGE_SIZE' => $img_attr,

bereitgestellt.

Ich konnte aber weder im xtc5, tpl_modified noch im resonsive Template eine Stelle finden, an der diese Daten verwendet würden.

Ist das nun ein Rest von früher oder ist noch eine Verwendung dafür geplant. Wenn nicht könnte man dies ja auskommentieren.
{{{
    //get products image, imageinfo array
    $products_image = $this->productImage($array['products_image'], $image);    
    /*
    $p_img = substr($products_image, strlen(DIR_WS_BASE));
    $img_attr = '';
    if (file_exists($p_img)) {
      list($width, $height, $type, $img_attr) = getimagesize($p_img);
    }
    */
}}}
Man spart sich ja zumindest Zugriffe auf die Platte ( und damit  Ausführungszeit ) ,die Funktion ""buildDataArray"" wird ja recht oft  verwendet."	Frage	closed	normal	modified-shop-2.0.5.0	Shop	2.0.3.0	fixed				
