* 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);
*/
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;
}