فهرست منبع

取消.env文件单引号

萤火科技 4 سال پیش
والد
کامیت
f2bb180bd8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      public/install/index.php

+ 1 - 1
public/install/index.php

@@ -125,7 +125,7 @@ if ($s == 3) {
         $config_str = str_replace('~db_host~', $dbhost, $config_str);
         $config_str = str_replace('~db_name~', $dbname, $config_str);
         $config_str = str_replace('~db_user~', $dbuser, $config_str);
-        $config_str = str_replace('~db_pwd~', "'{$dbpwd}'", $config_str);
+        $config_str = str_replace('~db_pwd~', $dbpwd, $config_str);
         $config_str = str_replace('~db_port~', $dbport, $config_str);
         $config_str = str_replace('~db_charset~', 'utf8', $config_str);