SM_PATH fixes
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 14:06:24 +0000 (14:06 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 14:06:24 +0000 (14:06 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3951 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/mail_fetch/setup.php

index ce41ff6..0e352da 100644 (file)
 
     function mail_fetch_login() {
 
-        require_once ('../include/validate.php');
-        require_once ('../functions/imap.php');
-        require_once ('../plugins/mail_fetch/class.POP3.php');
-        require_once ('../plugins/mail_fetch/functions.php');
-        require_once ('../functions/i18n.php');
+        require_once (SM_PATH . 'include/validate.php');
+        require_once (SM_PATH . 'functions/imap.php');
+        require_once (SM_PATH . 'plugins/mail_fetch/class.POP3.php');
+        require_once (SM_PATH . 'plugins/mail_fetch/functions.php');
+        require_once (SM_PATH . 'functions/i18n.php');
 
         global $data_dir, $imapServerAddress, $imapPort;
         if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) {