Explorar el Código

禁用数据库的安全模式

zhangjiangbin hace 8 años
padre
commit
f0094f1fc5
Se han modificado 2 ficheros con 2 adiciones y 3 borrados
  1. 0 1
      .gitignore
  2. 2 2
      config/database.php

+ 0 - 1
.gitignore

@@ -1,4 +1,3 @@
-/config/database.php
 /public/upload
 /storage/framework
 /storage/logs

+ 2 - 2
config/database.php

@@ -45,12 +45,12 @@ return [
             'port' => '3306',
             'database' => 'ssrpanel',
             'username' => 'root',
-            'password' => '',
+            'password' => 'root',
             'unix_socket' => '',
             'charset' => 'utf8mb4',
             'collation' => 'utf8mb4_unicode_ci',
             'prefix' => '',
-            'strict' => true,
+            'strict' => false,
             'engine' => null,
         ],