[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-11007-ge386d58

Piotr Przybylski crackpl at users.sourceforge.net
Wed Jul 20 18:43:09 CEST 2011


The branch, master has been updated
       via  e386d589864d3ca346653429caddf24502526dc8 (commit)
      from  23c5e3282fb1ce89ec6cdb5004c6f36aedcda2bc (commit)


- Log -----------------------------------------------------------------
commit e386d589864d3ca346653429caddf24502526dc8
Author: Piotr Przybylski <piotrprz at gmail.com>
Date:   Wed Jul 20 18:42:50 2011 +0200

    $server_db_isLocal - account for IPv6 loopback address
    Only the most common form ('::1') is recognized

-----------------------------------------------------------------------

Summary of changes:
 server_status.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/server_status.php b/server_status.php
index 28d6858..2bdae64 100644
--- a/server_status.php
+++ b/server_status.php
@@ -557,7 +557,8 @@ $server = 1;
 if(isset($_REQUEST['server']) && intval($_REQUEST['server'])) $server = intval($_REQUEST['server']);
 
 $server_db_isLocal = strtolower($cfg['Servers'][$server]['host']) == 'localhost' 
-                              || $cfg['Servers'][$server]['host'] == '127.0.0.1';
+                              || $cfg['Servers'][$server]['host'] == '127.0.0.1'
+                              || $cfg['Servers'][$server]['host'] == '::1';
 
 ?>
 <script type="text/javascript">


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list