// BO menu now uses the new icons

This commit is contained in:
tDidierjean
2011-11-23 17:12:18 +00:00
parent 9d727990f1
commit f3f99d3f63
+1 -2
View File
@@ -1194,9 +1194,8 @@ class AdminControllerCore extends Controller
$img = _MODULE_DIR_.$tab['module'].'/'.$tab['class_name'].'.png';
// retrocompatibility
if (!file_exists($img))
if (!file_exists(dirname(_PS_ROOT_DIR_).$img))
$img = str_replace('png', 'gif', $img);
// tab[class_name] does not contains the "Controller" suffix
$tabs[$index]['current'] = ($tab['class_name'].'Controller' == get_class($this)) || (Tab::getCurrentParentId() == $tab['id_tab']);
$tabs[$index]['img'] = $img;