Skip to content
Permalink
Browse files

check if extension loaded

  • Loading branch information...
taylorotwell committed Feb 28, 2019
1 parent a0f6bcc commit 3001f3c6e232ba7ce2ecdbdfe6e43b4c64ee05ad
Showing with 3 additions and 3 deletions.
  1. +3 −3 config/database.php
@@ -54,9 +54,9 @@
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
// 'options' => array_filter([
// PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
// ]),
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'pgsql' => [

0 comments on commit 3001f3c

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.