Skip to content

Commit

Permalink
Update data.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdiMGF2 authored Dec 19, 2023
1 parent 229af5d commit f30d17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f30d17d

Please sign in to comment.