mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 22:56:46 +02:00
Change $jush to constant
This commit is contained in:
@@ -6,7 +6,7 @@ $name = $_GET["name"];
|
||||
$row = $_POST;
|
||||
|
||||
if ($row && !$error) {
|
||||
if ($jush == "sqlite") {
|
||||
if (JUSH == "sqlite") {
|
||||
$result = recreate_table($TABLE, $TABLE, array(), array(), array(), 0, array(), $name, ($row["drop"] ? "" : $row["clause"]));
|
||||
} else {
|
||||
$result = ($name == "" || queries("ALTER TABLE " . table($TABLE) . " DROP CONSTRAINT " . idf_escape($name)));
|
||||
@@ -31,7 +31,7 @@ if (!$row) {
|
||||
|
||||
<form action="" method="post">
|
||||
<p><?php
|
||||
if ($jush != "sqlite") {
|
||||
if (JUSH != "sqlite") {
|
||||
echo lang('Name') . ': <input name="name" value="' . h($row["name"]) . '" data-maxlength="64" autocapitalize="off"> ';
|
||||
}
|
||||
echo doc_link(array(
|
||||
|
Reference in New Issue
Block a user