diff options
author | Nozomi Anzai | 2014-04-21 07:56:33 +0000 |
---|---|---|
committer | Nozomi Anzai | 2014-04-21 07:56:33 +0000 |
commit | 5ec3c83cdcb909ac0dc71ca93ae7a8e8e4217858 (patch) | |
tree | 0cf4dbedfe3aac60608b9338874ca0ea02fde2a6 | |
parent | df313a30ae0672f6aea39225964d39e4b66fbd03 (diff) |
Set is_superuser to judge buttons for PostgreSQL to be available or not.
-rw-r--r-- | nodeStatus.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nodeStatus.php b/nodeStatus.php index e79fed8..d85c8b2 100644 --- a/nodeStatus.php +++ b/nodeStatus.php @@ -127,6 +127,7 @@ $tpl->assign('msgStopPgpool', $message['msgStopPgpool']); $tpl->assign('nodeCount', $nodeCount); $tpl->assign('has_not_loaded_node', $has_not_loaded_node); $tpl->assign('pgpoolIsRunning', $is_pgpool_running); +$tpl->assign('is_superuser', isSuperUser($_SESSION[SESSION_LOGIN_USER])) // Set params $configValue = readConfigParams('recovery_1st_stage'); |