mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
Don't display tables list on server pages
This commit is contained in:
@@ -821,7 +821,7 @@ DROP PROCEDURE adminer_alter;
|
|||||||
: (isset($_GET["dump"]) ? '<input type="hidden" name="dump" value="">'
|
: (isset($_GET["dump"]) ? '<input type="hidden" name="dump" value="">'
|
||||||
: "")));
|
: "")));
|
||||||
echo "</p></form>\n";
|
echo "</p></form>\n";
|
||||||
if ($_GET["ns"] !== "" && !$missing) {
|
if ($_GET["ns"] !== "" && !$missing && DB != "") {
|
||||||
echo '<p><a href="' . h(ME) . 'create="' . bold($_GET["create"] === "") . ">" . lang('Create new table') . "</a>\n";
|
echo '<p><a href="' . h(ME) . 'create="' . bold($_GET["create"] === "") . ">" . lang('Create new table') . "</a>\n";
|
||||||
$tables = tables_list();
|
$tables = tables_list();
|
||||||
if (!$tables) {
|
if (!$tables) {
|
||||||
|
Reference in New Issue
Block a user