code-igniter-v3-giggi: update release v2
diff --git a/application/config/database.php b/application/config/database.php
index 01eb5b4..eda78bb 100644
--- a/application/config/database.php
+++ b/application/config/database.php
@@ -82,13 +82,19 @@
 	'dbdriver' => 'mysqli',
 	'dbprefix' => '',
 	'pconnect' => FALSE,
-	'db_debug' => TRUE,
+	'db_debug' => FALSE,
 	'cache_on' => FALSE,
 	'cachedir' => '',
 	'char_set' => 'utf8',
 	'dbcollat' => 'utf8_general_ci',
 	'swap_pre' => '',
-	'encrypt' => TRUE,
+	'encrypt' => [
+        'ssl_capath' => getenv('MYSQL_SSL_CAPATH'),
+        'ssl_cert' => getenv('MYSQL_SSL_CERT'),
+        'ssl_key' => getenv('MYSQL_SSL_KEY'),
+        'ssl_ca' => getenv('MYSQL_SSL_CA'),
+        'ssl_verify' => FALSE
+    ],
 	'compress' => FALSE,
 	'stricton' => FALSE,
 	'failover' => array(),
@@ -97,10 +103,10 @@
 
 $db['default'] = array(
 	'dsn'	=> '',
-	'hostname' => 'localhost',
-	'username' => '',
-	'password' => '',
-	'database' => '',
+	'hostname' => getenv('MYSQL_HOSTNAME'),
+	'username' => getenv('MYSQL_USER'),
+	'password' => getenv('MYSQL_PASSWORD'),
+	'database' => getenv('MYSQL_DATABASE'),
 	'dbdriver' => 'mysqli',
 	'dbprefix' => '',
 	'pconnect' => FALSE,
@@ -110,7 +116,13 @@
 	'char_set' => 'utf8',
 	'dbcollat' => 'utf8_general_ci',
 	'swap_pre' => '',
-	'encrypt' => FALSE,
+	'encrypt' => [
+        'ssl_capath' => getenv('MYSQL_SSL_CAPATH'),
+        'ssl_cert' => getenv('MYSQL_SSL_CERT'),
+        'ssl_key' => getenv('MYSQL_SSL_KEY'),
+        'ssl_ca' => getenv('MYSQL_SSL_CA'),
+        'ssl_verify' => FALSE
+    ],
 	'compress' => FALSE,
 	'stricton' => FALSE,
 	'failover' => array(),