~ubuntu-branches/ubuntu/hardy/squirrelmail/hardy-updates

« back to all changes in this revision

Viewing changes to src/redirect.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst, Jeroen van Wolffelaar, Thijs Kinkhorst
  • Date: 2005-08-15 21:06:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050815210600-qxvat452exjqg64j
Tags: 2:1.4.5-2
[ Jeroen van Wolffelaar ]
* Restore squirrelmail-configure manpage, accidently dropped in -1
* Use debhelper compat level 4

[ Thijs Kinkhorst ]
* Drop obsolete symlink for attachment dir.
* Do not ship upstream README, which contains hardly any information
  relevant to Debian. Extend README.Debian a bit. Thanks W. Borgert.
* Add years to copyright statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
*
10
10
* Prevents users from reposting their form data after a successful logout.
11
11
*
12
 
* @version $Id: redirect.php,v 1.72.2.7 2005/01/15 13:10:25 jervfors Exp $
 
12
* @version $Id: redirect.php,v 1.72.2.8 2005/02/20 05:20:23 jangliss Exp $
13
13
* @package squirrelmail
14
14
*/
15
15
 
54
54
    $squirrelmail_language = $squirrelmail_default_language;
55
55
}
56
56
 
 
57
if (!sqgetGlobalVar('mailto', $mailto)) {
 
58
    $mailto = '';
 
59
}
 
60
 
 
61
 
57
62
/* end of get globals */
58
63
 
59
64
set_up_language($squirrelmail_language, true);
152
157
    unset($session_expired_location);
153
158
}
154
159
 
 
160
if($mailto != '') {
 
161
    $redirect_url  = $location . '/webmail.php?right_frame=compose.php&mailto=';
 
162
    $redirect_url .= urlencode($mailto);
 
163
}
 
164
 
 
165
 
 
166
 
155
167
/* Write session data and send them off to the appropriate page. */
156
168
session_write_close();
157
169
header("Location: $redirect_url");
184
196
    sqsession_register($attachment_common_types, 'attachment_common_types');
185
197
}
186
198
 
187
 
?>
 
 
b'\\ No newline at end of file'
 
199
?>