Fix superuser: unknown (Connection error) in pgpoolAdmin.
authorpengbo <pengbo@sraoss.co.jp>
Sun, 26 Feb 2017 02:22:25 +0000 (11:22 +0900)
committerpengbo <pengbo@sraoss.co.jp>
Sun, 26 Feb 2017 02:22:25 +0000 (11:22 +0900)
per bug276

common.php

index 955924aebea060f9f46c41389f7bc9f07a2a283a..b5d129a0fc7268dff44b6b070e47d08631c5b190 100644 (file)
@@ -219,6 +219,7 @@ function isSuperUser($user_name)
 
     // Try to connect the backend by login user
     $conn = openDBConnection(array(
+        'host'     => 'localhost',
         'port'     => $params['port'],
         'dbname'   => 'template1',
         'user'     => $_SESSION[SESSION_LOGIN_USER],