1
0
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:
Jakub Vrana
2025-03-06 17:51:20 +01:00
parent 0541680d73
commit f05f4b4cbc
25 changed files with 100 additions and 106 deletions

View File

@@ -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(