if I don't do a chdir('..') required files in required files failed to
[squirrelmail.git] / plugins / message_details / message_details_bottom.php
index 6520a09..1b8a735 100644 (file)
@@ -10,7 +10,8 @@
  * $Id$
  */
 
  * $Id$
  */
 
-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');