Browse Source

Make decrypt_headers.php work again

pdontthink 16 năm trước cách đây
mục cha
commit
2c3262b93d
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      contrib/decrypt_headers.php

+ 3 - 2
contrib/decrypt_headers.php

@@ -16,10 +16,11 @@
 define('SM_PATH','../');
 
 /**
- * include SquirrelMail string functions
+ * include SquirrelMail string and generic functions
  * script needs OneTimePadDecrypt() (functions/strings.php)
- * and sqgetGlobalVar() (functions/global.php, loaded by strings.php)
+ * and sqgetGlobalVar() (functions/global.php)
  */
+include_once(SM_PATH.'functions/global.php');
 include_once(SM_PATH.'functions/strings.php');
 
 /**