Message details seems to work without chdir now.
[squirrelmail.git] / plugins / message_details / message_details_main.php
index 1300d23..5d4ae41 100644 (file)
@@ -10,8 +10,8 @@
  */
 
 /* Path for SquirrelMail required files. */
  */
 
 /* Path for SquirrelMail required files. */
-chdir('..');
-define('SM_PATH','../');
+#chdir('..');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');