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 ) {