Projekt

Allgemein

Profil

GX-Bug #48973 » ImageSizeGigaByteIniValueFix.patch

Ronald Loyko, 24.10.2016 14:52

Unterschiede anzeigen:

src/admin/includes/modules/set_category_data.inc.php (revision )
130 130
		$uploadMaxFilesize = $uploadMaxFilesize * pow(1024, 2);
131 131
	}elseif(strpos($uploadMaxFilesize, 'K') !== false){
132 132
		$uploadMaxFilesize = $uploadMaxFilesize * 1024;
133
	} elseif(strpos($uploadMaxFilesize, 'G') !== false) {
134
		$uploadMaxFilesize = $uploadMaxFilesize * pow(1024, 3);
133 135
	}
134 136
	
135 137
	$imageFilesize = $_FILES['categories_image']['size'];
    (1-1/1)