From: Luke E. <lke...@us...> - 2001-04-22 03:40:15
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory usw-pr-cvs1:/tmp/cvs-serv28054/src Modified Files: signout.php Log Message: Index: signout.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/signout.php,v retrieving revision 1.28 retrieving revision 1.29 diff -u -w -r1.28 -r1.29 --- signout.php 2001/04/20 15:57:29 1.28 +++ signout.php 2001/04/22 03:40:10 1.29 @@ -19,24 +19,20 @@ include ('../functions/prefs.php'); include ('../functions/plugin.php'); - // Erase any lingering attachments - if (! isset($attachments)) + if (! isset($attachments)) { $attachments = array(); - foreach ($attachments as $info) - { - if (file_exists($attachment_dir . $info['localfilename'])) - { + } + foreach ($attachments as $info) { + if (file_exists($attachment_dir . $info['localfilename'])) { unlink($attachment_dir . $info['localfilename']); } } - set_up_language(getPref($data_dir, $username, 'language')); // If a user hits reload on the last page, $base_uri isn't set // because it was deleted with the session. - if (! isset($base_uri)) - { + if (! isset($base_uri)) { ereg ("(^.*/)[^/]+/[^/]+$", $PHP_SELF, $regs); $base_uri = $regs[1]; } |