bug fixes

pull/1/head
root 18 years ago
parent 0acca2da12
commit caff89d6ba

@ -20,11 +20,13 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key)
{
unset($_SESSION[$key]);
if($key == '_config')
continue;
if(is_int($key) || is_string($key))
unset($_SESSION[$key]);
unset($$key);
session_unregister($key);
}
unset($_SESSION);
$_SESSION['profile'] = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='$uid'"));
$_SESSION['profile']['loggedin'] = 1;
@ -43,11 +45,13 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key)
{
unset($_SESSION[$key]);
unset($$key);
session_unregister($key);
if($key == '_config')
continue;
if(is_int($key) || is_string($key))
unset($_SESSION[$key]);
unset($$key);
session_unregister($key);
}
unset($_SESSION);
$_SESSION['profile'] = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".$row['memid']."'"));
$_SESSION['profile']['loggedin'] = 1;
@ -56,11 +60,12 @@
$_SESSION['profile'] = "";
foreach($_SESSION as $key)
{
if($key == '_config')
continue;
unset($_SESSION[$key]);
unset($$key);
session_unregister($key);
}
unset($_SESSION);
unset($_SESSION['_config']['oldlocation']);

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: de\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-01-09 08:25:26+0000\n"
"PO-Revision-Date: 2006-05-27 00:51:48+0000\n"
"PO-Revision-Date: 2006-08-03 14:19:27+0000\n"
"Last-Translator: Someone <someone@someisp.com>\n"
"Language-Team: <de@li.org>\n"
"MIME-Version: 1.0\n"

@ -33,6 +33,8 @@
<p><b>IRC</b></p>
<p><a href="irc://irc.CAcert.org/CAcert">irc://irc.CAcert.org/CAcert</a></p>
<p><b>Secure IRC</b></p>
<p><a href="ircs://irc.CAcert.org:7000/CAcert">ircs://irc.CAcert.org:7000/CAcert</a></p>
<p><b><?=_("Other Mailing Lists")?></b></p>
<p><?=_("There are a number of other mailing lists CAcert runs, some are general discussion, others are technical (such as the development list) or platform specific help (such as the list for Apple Mac users)")?></p>

@ -1,7 +1,7 @@
<?
if($process == "Confirm, I agree to these terms and conditions" && $iagree == "yes")
{
$output_file = $fname = "cacert-20060527.tar.bz2";
$output_file = $fname = "cacert-20060803.tar.bz2";
header('Pragma: public');

Loading…
Cancel
Save