Browse Source

Make decrypt_headers.php work again

pdontthink 16 years ago
parent
commit
2c3262b93d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      contrib/decrypt_headers.php

+ 3 - 2
contrib/decrypt_headers.php

@@ -16,10 +16,11 @@
 define('SM_PATH','../');
 define('SM_PATH','../');
 
 
 /**
 /**
- * include SquirrelMail string functions
+ * include SquirrelMail string and generic functions
  * script needs OneTimePadDecrypt() (functions/strings.php)
  * 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');
 include_once(SM_PATH.'functions/strings.php');
 
 
 /**
 /**