X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fimap_general.php;h=c58f0907cffe6df997395aa357e2267fff3e568f;hb=0b97a708e71c931153cd1ceee1495c9f4e1e209b;hp=4e7db9ae0059ca08aff4839c2bd1ab3c07a18fbc;hpb=b68edc750e3b478f5302681e8fbd289b17447550;p=squirrelmail.git diff --git a/functions/imap_general.php b/functions/imap_general.php index 4e7db9ae..c58f0907 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -177,7 +177,7 @@ function sqimap_read_data ($imap_stream, $pre, $handle_errors, &$response, &$mes * will be displayed. This function returns the imap connection handle. */ function sqimap_login ($username, $password, $imap_server_address, $imap_port, $hide) { - global $color, $squirrelmail_language, $HTTP_ACCEPT_LANGUAGE, $onetimepad; + global $color, $squirrelmail_language, $onetimepad; $imap_server_address = sqimap_get_user_server($imap_server_address, $username); @@ -234,8 +234,8 @@ function sqimap_login ($username, $password, $imap_server_address, $imap_port, $ */ set_up_language($squirrelmail_language, true); - include_once( '../functions/display_messages.php' ); - logout_error( _("Unknown user or password incorrect.") ); + include_once(SM_PATH . 'functions/display_messages.php' ); + logout_error( _("Unknown user or password incorrect.") ); session_destroy(); exit; }