瀏覽代碼

same fix as stable

tokul 21 年之前
父節點
當前提交
c0945deb91
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/redirect.php

+ 1 - 2
src/redirect.php

@@ -173,8 +173,7 @@ function attachment_common_parse($str, $debug) {
             $attachment_common_types[$val] = true;
         }
     }
-    $_SESSION['attachment_common_types'] = $attachment_common_types;
+    sqsession_register($attachment_common_types, 'attachment_common_types');
 }
 
-
 ?>