change $db_password to $db_pass

This commit is contained in:
Ibnu Maksum
2024-07-29 09:06:27 +07:00
parent 3b9c5d16f8
commit fa154b007f
11 changed files with 41 additions and 30 deletions

View File

@ -701,7 +701,7 @@ switch ($action) {
_alert(Lang::T('You do not have permission to access this page'), 'danger', "dashboard");
}
$dbc = new mysqli($db_host, $db_user, $db_password, $db_name);
$dbc = new mysqli($db_host, $db_user, $db_pass, $db_name);
if ($result = $dbc->query('SHOW TABLE STATUS')) {
$tables = array();
while ($row = $result->fetch_array()) {