Fix loading custom icons from web/css/themes/ if they exist - refs BT#9413

1.10.x
Yannick Warnier 11 years ago
parent 8bc5bc45f8
commit 16afc16d38
  1. 6
      main/inc/lib/display.lib.php

@ -746,11 +746,11 @@ class Display
$show_text = true, $show_text = true,
$return_only_path = false $return_only_path = false
) { ) {
$code_path = api_get_path(SYS_CODE_PATH); $code_path = api_get_path(SYS_CSS_PATH);
$w_code_path = api_get_path(WEB_CODE_PATH); $w_code_path = api_get_path(WEB_CSS_PATH);
$image = trim($image); $image = trim($image);
$theme = 'css/' . api_get_visual_theme() . '/icons/'; $theme = 'themes/' . api_get_visual_theme() . '/icons/';
$icon = ''; $icon = '';
$size_extra = ''; $size_extra = '';

Loading…
Cancel
Save