commit
ee5b68918f
@ -374,7 +374,7 @@ function getProductOrService($authentication,$id='',$ref='',$ref_ext='',$lang=''
|
||||
$product->load_stock();
|
||||
|
||||
$dir = (!empty($conf->product->dir_output)?$conf->product->dir_output:$conf->service->dir_output);
|
||||
$pdir = get_exdir($product->id,2,0,0,$product,'product') . $product->id ."/photos/";
|
||||
$pdir = get_exdir($product->id,2,0,0,$product,'product') . $product->ref . "/";
|
||||
$dir = $dir . '/'. $pdir;
|
||||
|
||||
if (! empty($product->multilangs[$langs->defaultlang]["label"])) $product->label = $product->multilangs[$langs->defaultlang]["label"];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user