Eliminated all eveil chdir statements.
[squirrelmail.git] / plugins / newmail / newmail.php
index da04ec4fa1e8a46ac703e05d1c6a9db531518c04..59bfb2c697cd2bc89da8de0c3a621c3584adfb98 100644 (file)
@@ -1,23 +1,22 @@
 <?php
 
-   /**
-    **  newmail.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','../');
+/**
+ * newmail.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$    
+ */
 
-    /* SquirrelMail required files. */
-   require_once(SM_PATH . 'include/validate.php');
-   require_once(SM_PATH . 'include/load_prefs.php');
-   require_once(SM_PATH . 'functions/page_header.php');
+define('SM_PATH','../../');
+
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'include/validate.php');
+require_once(SM_PATH . 'include/load_prefs.php');
+require_once(SM_PATH . 'functions/page_header.php');
 
    displayHtmlHeader( _("New Mail"), '', FALSE );