Преглед на файлове

取消.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);