Eliminated all eveil chdir statements.
[squirrelmail.git] / plugins / newmail / newmail_opt.php
index 87426a49a328e7d65355c51f7f66ab8ae9d12e78..262427626b9f478c2fe24fbbf8ec0c50fc5d602d 100644 (file)
@@ -1,27 +1,25 @@
 <?php
 
-   /**
-    **  newmails_opt.php
-    **
-    **  Copyright (c) 1999-2002 The SquirrelMail Project Team
-    **  Licensed under the GNU GPL. For full terms see the file COPYING.
-    **
-    **  Displays all options relating to new mail sounds
-    **
-    **  $Id$
-    **
-    **/
+/**
+ * newmails_opt.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * Displays all options relating to new mail sounds
+ *
+ * $Id$
+ */
 
-    chdir('..');
-    define('SM_PATH','../');
+define('SM_PATH','../../');
 
-    /* SquirrelMail required files. */
-    require_once(SM_PATH . 'include/validate.php');
-    require_once(SM_PATH . 'functions/page_header.php');
-    require_once(SM_PATH . 'functions/display_messages.php');
-    require_once(SM_PATH . 'functions/imap.php');
-    require_once(SM_PATH . 'functions/array.php');
-    require_once(SM_PATH . 'src/load_prefs.php');
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'include/validate.php');
+require_once(SM_PATH . 'functions/page_header.php');
+require_once(SM_PATH . 'functions/display_messages.php');
+require_once(SM_PATH . 'functions/imap.php');
+require_once(SM_PATH . 'functions/array.php');
+require_once(SM_PATH . 'include/load_prefs.php');
 
     displayPageHeader($color, 'None');