Putting back SM_PATH the way it should be and eliminating chdir in the
[squirrelmail.git] / plugins / message_details / message_details_main.php
index 1300d23..1310ef7 100644 (file)
@@ -10,8 +10,7 @@
  */
 
 /* Path for SquirrelMail required files. */
-chdir('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');