浏览代码

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

stevetruckstuff 19 年之前
父节点
当前提交
3e2bd79a4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 );