Unset unnecessary token
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@379 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
312a0667b1
commit
455cdb3962
|
@ -95,6 +95,7 @@ if (isset($_GET["dump"])) {
|
||||||
} elseif (isset($_GET["select"])) {
|
} elseif (isset($_GET["select"])) {
|
||||||
include "./select.inc.php";
|
include "./select.inc.php";
|
||||||
} else {
|
} else {
|
||||||
|
unset($_SESSION["tokens"][$_GET["server"]][$_SERVER["REQUEST_URI"]]);
|
||||||
page_header(lang('Database') . ": " . htmlspecialchars($_GET["db"]), false);
|
page_header(lang('Database') . ": " . htmlspecialchars($_GET["db"]), false);
|
||||||
echo '<p><a href="' . htmlspecialchars($SELF) . 'database=">' . lang('Alter database') . "</a></p>\n";
|
echo '<p><a href="' . htmlspecialchars($SELF) . 'database=">' . lang('Alter database') . "</a></p>\n";
|
||||||
echo '<p><a href="' . htmlspecialchars($SELF) . 'schema=">' . lang('Database schema') . "</a></p>\n";
|
echo '<p><a href="' . htmlspecialchars($SELF) . 'schema=">' . lang('Database schema') . "</a></p>\n";
|
||||||
|
|
Loading…
Reference in a new issue