This commit has been accessed 587 times via Git panel.
commit 5a82bd7ada42d113e93a435c3aaa65c76ca56ca8
tree 2fabf8a8d4c79e8eed6b8519d7e186ec98bf3afa
parent 1d3770cb4301f973b463fe947b8f2cedf571a9db
author Engels Antonio <engels@majcms.org> 1277314214 +0800
committer Engels Antonio <engels@majcms.org> 1277314214 +0800
maj-2.0-201006160138.zip
diff --git a/login.php b/login.php
index f12cd08..631c1a1 100644
--- a/login.php
+++ b/login.php
@@ -163,7 +163,7 @@ a:active {
}
?>
-<table border="0" cellspacing="1" cellpadding="2">
+<table border="0" cellspacing="1" cellpadding="1">
<form enctype="multipart/form-data" action="login.php" method="post">
diff --git a/options.php b/options.php
index f19fc70..301d943 100644
--- a/options.php
+++ b/options.php
@@ -22,7 +22,7 @@ if (get_magic_quotes_gpc()) {
return stripslashes($data);
}
}
- $_POST = stripslashes_array($_POST);
+ $_REQUEST = stripslashes_array($_REQUEST);
}
if (file_exists("data/lite.txt")) {
@@ -113,11 +113,11 @@ a:active {
<?php
-if (isset($_POST['username']) and !empty($_POST['username']) and isset($_POST['key']) and !empty($_POST['key'])) {
+if (isset($_REQUEST['username']) and !empty($_REQUEST['username']) and isset($_REQUEST['key']) and !empty($_REQUEST['key'])) {
- $username = $_POST['username'];
+ $username = $_REQUEST['username'];
- if (file_exists("data/members/active/$username") and ($_POST['key'] == file_get_contents("data/members/active/$username/key.txt"))) {
+ if (file_exists("data/members/active/$username") and ($_REQUEST['key'] == file_get_contents("data/members/active/$username/key.txt"))) {
unlink("data/members/active/$username/key.txt");
unlink("data/members/active/$username/vacation.txt");
unlink("data/members/active/$username/email.txt");
diff --git a/rel.txt b/rel.txt
index 366e45b..8bb319a 100644
--- a/rel.txt
+++ b/rel.txt
@@ -1 +1 @@
-201006031246
+201006160138
tree 2fabf8a8d4c79e8eed6b8519d7e186ec98bf3afa
parent 1d3770cb4301f973b463fe947b8f2cedf571a9db
author Engels Antonio <engels@majcms.org> 1277314214 +0800
committer Engels Antonio <engels@majcms.org> 1277314214 +0800
maj-2.0-201006160138.zip
diff --git a/login.php b/login.php
index f12cd08..631c1a1 100644
--- a/login.php
+++ b/login.php
@@ -163,7 +163,7 @@ a:active {
}
?>
-<table border="0" cellspacing="1" cellpadding="2">
+<table border="0" cellspacing="1" cellpadding="1">
<form enctype="multipart/form-data" action="login.php" method="post">
diff --git a/options.php b/options.php
index f19fc70..301d943 100644
--- a/options.php
+++ b/options.php
@@ -22,7 +22,7 @@ if (get_magic_quotes_gpc()) {
return stripslashes($data);
}
}
- $_POST = stripslashes_array($_POST);
+ $_REQUEST = stripslashes_array($_REQUEST);
}
if (file_exists("data/lite.txt")) {
@@ -113,11 +113,11 @@ a:active {
<?php
-if (isset($_POST['username']) and !empty($_POST['username']) and isset($_POST['key']) and !empty($_POST['key'])) {
+if (isset($_REQUEST['username']) and !empty($_REQUEST['username']) and isset($_REQUEST['key']) and !empty($_REQUEST['key'])) {
- $username = $_POST['username'];
+ $username = $_REQUEST['username'];
- if (file_exists("data/members/active/$username") and ($_POST['key'] == file_get_contents("data/members/active/$username/key.txt"))) {
+ if (file_exists("data/members/active/$username") and ($_REQUEST['key'] == file_get_contents("data/members/active/$username/key.txt"))) {
unlink("data/members/active/$username/key.txt");
unlink("data/members/active/$username/vacation.txt");
unlink("data/members/active/$username/email.txt");
diff --git a/rel.txt b/rel.txt
index 366e45b..8bb319a 100644
--- a/rel.txt
+++ b/rel.txt
@@ -1 +1 @@
-201006031246
+201006160138