From d031b9cc5214b41886b8fe4c68a92ba76e50020b Mon Sep 17 00:00:00 2001 From: Repellent Date: Mon, 1 Dec 2025 16:22:21 +0500 Subject: [PATCH] add / for pas bd --- install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/index.php b/install/index.php index e0b0598..b83dcfd 100644 --- a/install/index.php +++ b/install/index.php @@ -560,7 +560,7 @@ switch ($_REQUEST['step']) . "\t\$config = [\n" . "\t\t'dbhost' => \"" . stripslashes(trim($_POST['dbhost'])) . "\",\n" . "\t\t'dbuser' => \"" . stripslashes(trim($_POST['dbuser'])) . "\",\n" - . "\t\t'dbpass' => \"" . stripslashes(addslashes(trim($_POST['dbpass']))) . "\",\n" + . "\t\t'dbpass' => \"" . str_replace('$', '\$', stripslashes(trim($_POST['dbpass']))) . "\",\n" . "\t\t'dbname' => \"" . stripslashes(trim($_POST['dbname'])) . "\",\n" . "\t\t'dbpref' => \"" . stripslashes(trim($_POST['dbprefix'])) . "\",\n" . "\t\t'dbport' => null,\n"