From: Jimmy C. <ci...@us...> - 2003-11-07 22:40:15
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory sc8-pr-cvs1:/tmp/cvs-serv4296 Modified Files: mailto.php Log Message: Fixes a few issues string.php is required for get_location() get_location() doesn't append a / so we should before adding the redirect variable Index: mailto.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/mailto.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- mailto.php 29 Oct 2003 15:25:11 -0000 1.4 +++ mailto.php 7 Nov 2003 22:40:11 -0000 1.5 @@ -23,6 +23,7 @@ /* SquirrelMail required files. */ require_once(SM_PATH . 'config/config.php'); require_once(SM_PATH . 'functions/global.php'); +require_once(SM_PATH . 'functions/strings.php'); header('Pragma: no-cache'); if(!sqgetGlobalVar('emailaddress', $emailaddress)) { @@ -70,5 +71,6 @@ /* $redirect .= $url; */ $redirect = 'login.php?mailto=' . $url; session_write_close(); -header('Location: ' .get_location(). $redirect); +header('Location: ' . get_location() . '/' . $redirect); + ?> |