diff --git a/config/application.php b/config/application.php index 81b79d6792..c95118d233 100644 --- a/config/application.php +++ b/config/application.php @@ -64,6 +64,10 @@ /** * DB settings */ +if (env('DB_SSL')) { + Config::define('MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL); +} + Config::define('DB_NAME', env('DB_NAME')); Config::define('DB_USER', env('DB_USER')); Config::define('DB_PASSWORD', env('DB_PASSWORD'));