projects
/
pgpooladmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1252842
)
Fix superuser: unknown (Connection error) in pgpoolAdmin.
author
pengbo
<pengbo@sraoss.co.jp>
Sun, 26 Feb 2017 02:22:25 +0000
(11:22 +0900)
committer
pengbo
<pengbo@sraoss.co.jp>
Sun, 26 Feb 2017 02:22:25 +0000
(11:22 +0900)
per bug276
common.php
patch
|
blob
|
blame
|
history
diff --git
a/common.php
b/common.php
index 955924aebea060f9f46c41389f7bc9f07a2a283a..b5d129a0fc7268dff44b6b070e47d08631c5b190 100644
(file)
--- a/
common.php
+++ b/
common.php
@@
-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],