Ver Fonte

取消.env文件单引号

萤火科技 há 4 anos atrás
pai
commit
f2bb180bd8
1 ficheiros alterados com 1 adições e 1 exclusões
  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);