Eliminated all eveil chdir statements.
[squirrelmail.git] / plugins / mail_fetch / options.php
index 10c9dd3e013e702e87747fb468897faf04ca6cbf..7dd615d1eb1644909a2a3913409e12a2f7a366ea 100644 (file)
@@ -1,22 +1,21 @@
 <?php
 
-   /**
   **  mail_fetch/options.php
   **
   **  Copyright (c) 1999-2002 The SquirrelMail Project Team
   **  Licensed under the GNU GPL. For full terms see the file COPYING.
   **
   **  Setup of the mailfetch plugin.
   **
   **  $Id$
   **/
+/**
* mail_fetch/options.php
+ *
* Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
* Setup of the mailfetch plugin.
+ *
* $Id$
+ */
 
-    chdir('..');
-    define('SM_PATH','../');
+define('SM_PATH','../../');
 
-    require_once(SM_PATH . 'include/validate.php');
-    require_once(SM_PATH . 'functions/imap.php');
-    require_once(SM_PATH . 'include/load_prefs.php');
+require_once(SM_PATH . 'include/validate.php');
+require_once(SM_PATH . 'functions/imap.php');
+require_once(SM_PATH . 'include/load_prefs.php');
 
     displayPageHeader( $color, 'None' );