Explorar o código

Prepend SM_PATH to $icon_theme_path since it is no longer returned by the template as part of the path.

stevetruckstuff %!s(int64=19) %!d(string=hai) anos
pai
achega
3e2bd79a4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/load_prefs.php

+ 1 - 1
include/load_prefs.php

@@ -136,7 +136,7 @@ if (!$found_theme) {
  *       theme to use.  If the admin has disabled icons, or the user has
  *       set the icon theme to "None," no icons will be used.
  */
-$icon_theme_path = (!$use_icons || $icon_theme=='none') ? NULL : ($icon_theme == 'template' ? Template::calculate_template_images_directory($sTemplateID) : $icon_theme);
+$icon_theme_path = (!$use_icons || $icon_theme=='none') ? NULL : ($icon_theme == 'template' ? SM_PATH . Template::calculate_template_images_directory($sTemplateID) : $icon_theme);
 
 // show (or not) flag and unflag buttons on mailbox list screen
 $show_flag_buttons = getPref($data_dir, $username, 'show_flag_buttons', SMPREF_ON );