Fix path Feature Logo

Image is not showing while feature update (Catalog->features) and issue while updating feature.
This commit is contained in:
Sumit Panwar
2019-09-10 09:46:28 +05:30
committed by GitHub
parent 4dac15b16d
commit ae684d733f

View File

@@ -171,7 +171,7 @@ class AdminFeaturesControllerCore extends AdminController
}
$ps_img_url = _PS_IMG_DIR_.'rf/'.$obj->id.'.png';
if ($img_exist = file_exists($ps_img_url)) {
$img_url = '../../hotelcommerce/img/rf/'.$obj->id.'.png';
$img_url = _PS_IMG_.'rf/'.$obj->id.'.png';
$image = "<img class='img-thumbnail img-responsive' style='max-width:100px' src='".$img_url."'>";
}