X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fredirect.php;h=963ce226781cafde0f8bfcce9405e130f94954c1;hb=69319017947414853523f0d4a7fb63bceb58f018;hp=c076b8eb247d399cb7d1684316525d7277ed192c;hpb=1a531551726e16fe9ccbd8de06731c1730d8fce2;p=squirrelmail.git diff --git a/src/redirect.php b/src/redirect.php index c076b8eb..963ce226 100644 --- a/src/redirect.php +++ b/src/redirect.php @@ -9,11 +9,14 @@ * * Prevents users from reposting their form data after a successful logout. * -* $Id$ +* @version $Id$ * @package squirrelmail */ -/** Path for SquirrelMail required files. */ +/** + * Path for SquirrelMail required files. + * @ignore + */ define('SM_PATH','../'); /* SquirrelMail required files. */ @@ -170,8 +173,7 @@ function attachment_common_parse($str, $debug) { $attachment_common_types[$val] = true; } } - $_SESSION['attachment_common_types'] = $attachment_common_types; + sqsession_register($attachment_common_types, 'attachment_common_types'); } - ?>