if I don't do a chdir('..') required files in required files failed to
[squirrelmail.git] / plugins / message_details / message_details_main.php
index 1310ef7..1300d23 100644 (file)
@@ -10,7 +10,8 @@
  */
 
 /* Path for SquirrelMail required files. */
-define('SM_PATH','../../');
+chdir('..');
+define('SM_PATH','../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');