From f30d17d493f8cde83acf1d1d7738db10ff5c5eb8 Mon Sep 17 00:00:00 2001 From: Mahdi Date: Tue, 19 Dec 2023 15:59:04 +0330 Subject: [PATCH] Update data.php --- install/data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/data.php b/install/data.php index 714732b..679b3e1 100644 --- a/install/data.php +++ b/install/data.php @@ -50,7 +50,7 @@ $newFileContent = preg_replace($patternidadmin, '$adminnumber = "'.$form_data['idadmin'].'";', $newFileContent); try { - $connect = new mysqli('localhost', $form_data['dbuser'], $$form_data['passworddb'], $$form_data['dbname']); + $connect = new mysqli('localhost', $form_data['dbuser'], $$form_data['dbpassword'], $$form_data['dbname']); if ($connect->connect_errno) { $textdatabase = 'خطا در اتصال به پایگاه داده: ' . $connect->connect_error;