[-] BO : FixBug Directory Separator on URL
This commit is contained in:
1 parent
eecfdae0b6
commit
40389822c3
1 file changed
+1
-1
@@ -76,7 +76,7 @@ class ImageManagerCore
|
|||||||
}
|
}
|
||||||
// Relative link will always work, whatever the base uri set in the admin
|
// Relative link will always work, whatever the base uri set in the admin
|
||||||
if (Context::getContext()->controller->controller_type == 'admin')
|
if (Context::getContext()->controller->controller_type == 'admin')
|
||||||
return '<img src="..'.DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.''.$cache_image.(!$disable_cache ? '?time='.time() : '').'" alt="" class="imgm" />';
|
return '<img src="../img/tmp/'.$cache_image.(!$disable_cache ? '?time='.time() : '').'" alt="" class="imgm" />';
|
||||||
else
|
else
|
||||||
return '<img src="'._PS_TMP_IMG_.$cache_image.(!$disable_cache ? '?time='.time() : '').'" alt="" class="imgm" />';
|
return '<img src="'._PS_TMP_IMG_.$cache_image.(!$disable_cache ? '?time='.time() : '').'" alt="" class="imgm" />';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user