From d1fe4536cc039450b540104e382db0d01d5cf886 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Fri, 19 Jun 2020 02:16:51 +0100 Subject: Initial commit --- config/database.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config/database.php') 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' => [ -- cgit v1.2.3