diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/database.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/database.php b/config/database.php index b42d9b3..b7d411c 100644 --- a/config/database.php +++ b/config/database.php @@ -58,9 +58,11 @@ return [ 'prefix_indexes' => true, 'strict' => true, 'engine' => null, - 'options' => extension_loaded('pdo_mysql') ? array_filter([ + 'options' => extension_loaded('pdo_mysql') ? array_filter( + [ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), - ]) : [], + ] + ) : [], ], 'pgsql' => [ |