Some plugins to rg=0: bug_report message_details newmail sent_subfolders spamcop...
[squirrelmail.git] / plugins / message_details / message_details_top.php
index c02560eb296ed3df6f660e359cd80c029c85d2cd..5323939b11a9177c9b7d8d4c95de008248272a24 100644 (file)
@@ -10,8 +10,7 @@
  * $Id$
  */
 
-chdir ('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
@@ -28,6 +27,8 @@ displayHtmlHeader( _("Message details"),
              "-->\n".
              "</script>\n", FALSE );
 
+$passed_id = $_GET['passed_id'];
+$mailbox = $_GET['mailbox'];
 
 echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
      '<center><b>'.