Update index.php

This commit is contained in:
Laurent Destailleur 2020-05-15 14:29:04 +02:00 committed by GitHub
parent 3295b0d669
commit f35a618699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ elseif ($query == "pro")
preg_match('@src="([^"]+)"@', $image, $match);
$file = array_pop($match);
if ($file == "") header('Location: ../../public/theme/common/nophoto.png');
else header('Location: '.$file.'&cache=1&publictakepos=1');
else header('Location: '.$file.'&cache=1&publictakepos=1&modulepart=product');
}
else
{