فهرست منبع

Move getSig, which can produce error output, after the point where the template system is fully initialized

pdontthink 18 سال پیش
والد
کامیت
fd2441d947
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      include/load_prefs.php

+ 3 - 3
include/load_prefs.php

@@ -157,9 +157,6 @@ $reply_focus = getPref($data_dir, $username, 'reply_focus', '');
 $left_refresh = getPref($data_dir, $username, 'left_refresh', 600 );
 $left_refresh = strtolower($left_refresh);
 
-/* Load up the Signature file */
-$signature_abs = $signature = getSig($data_dir, $username, 'g');
-
 /* Message Highlighting Rules */
 $message_highlight_list = array();
 
@@ -434,3 +431,6 @@ $icon_theme_path = (!$use_icons || $icon_theme=='none') ? NULL : ($icon_theme ==
 $default_icon_theme_path = (!$use_icons || $default_icon_theme=='none') ? NULL : ($default_icon_theme == 'template' ? SM_PATH . Template::calculate_template_images_directory($sTemplateID) : $default_icon_theme);
 $fallback_icon_theme_path = (!$use_icons || $fallback_icon_theme=='none') ? NULL : ($fallback_icon_theme == 'template' ? SM_PATH . Template::calculate_template_images_directory($sTemplateID) : $fallback_icon_theme);
 
+/* Load up the Signature file */
+$signature_abs = $signature = getSig($data_dir, $username, 'g');
+