New: Les images sont affiches travers le wrapper viewimage pour viter visualitaion sans droits.
This commit is contained in:
parent
0ecc52d176
commit
f793994beb
@ -239,7 +239,6 @@ if ($_GET["facid"] > 0)
|
||||
}
|
||||
}
|
||||
|
||||
print 'xxxxxxxxxximg src="'.DOL_URL_ROOT . '/viewimage.php?modulepart=apercufacture&file='.urlencode($relativepathimage).'"';
|
||||
if (file_exists($fileimage))
|
||||
{
|
||||
print '<img src="'.DOL_URL_ROOT . '/viewimage.php?modulepart=apercufacture&file='.urlencode($relativepathimage).'">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user