From ce6789c80d6f948b2dd5f4c18d2729c5f8c2f6c3 Mon Sep 17 00:00:00 2001
From: startxfr <clarue@startx.fr>
Date: Sat, 17 Feb 2018 10:58:50 +0100
Subject: change config

---
 Applications/phpmyadmin/config.inc.php | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

(limited to 'Applications/phpmyadmin/config.inc.php')

diff --git a/Applications/phpmyadmin/config.inc.php b/Applications/phpmyadmin/config.inc.php
index 0c454b8..e332ca3 100644
--- a/Applications/phpmyadmin/config.inc.php
+++ b/Applications/phpmyadmin/config.inc.php
@@ -9,8 +9,7 @@
  *
  * @package PhpMyAdmin
  */
-phpinfo (INFO_ENVIRONMENT);
-exit;
+
 /**
  * This is needed for cookie based authentication to encrypt password in
  * cookie. Needs to be 32 chars long.
@@ -54,12 +53,10 @@ if(getenv('DB_ENV_MYSQL_USER') != '') {
     $i++;
     $cfg['Servers'][$i]['extension'] = 'mysqli';
     $cfg['Servers'][$i]['auth_type'] = 'config';
-    $cfg['Servers'][$i]['host'] = getenv('DB_PORT_3306_TCP_ADDR');
+    $cfg['Servers'][$i]['host'] = getenv('DB_SERVICE_HOST');
     $cfg['Servers'][$i]['port'] = getenv('DB_PORT_3306_TCP_PORT');
     $cfg['Servers'][$i]['user'] = getenv('DB_ENV_MYSQL_USER');
     $cfg['Servers'][$i]['password'] = getenv('DB_ENV_MYSQL_PASSWORD');
-    $cfg['Servers'][$i]['compress'] = false;
-    $cfg['Servers'][$i]['AllowNoPassword'] = false;
 }
 /**
  * phpMyAdmin configuration storage settings.
-- 
cgit v1.2.3