瀏覽代碼

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');
+