Some code cleanups to read_body.php
[squirrelmail.git] / plugins / mail_fetch / options.php
index bcf103e..10c9dd3 100644 (file)
     **/
 
     chdir('..');
-    require_once('../src/validate.php');
-    require_once('../functions/imap.php');
-    require_once('../src/load_prefs.php');
+    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');
 
     displayPageHeader( $color, 'None' );