mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Fixed incorrect variables for PostgreSQL Support
This commit is contained in:
parent
1689ea34a2
commit
3b2f499e7f
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ exec (VESTA_CMD."v-list-database-hosts pgsql json", $output, $return_var);
|
|||
$v_pgsql_hosts = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
foreach ($v_pgsql_hosts as $key => $value) {
|
||||
$v_psql = 'yes';
|
||||
$v_pgsql = 'yes';
|
||||
}
|
||||
|
||||
// List backup settings
|
||||
|
@ -207,7 +207,7 @@ if (!empty($_POST['save'])) {
|
|||
|
||||
// Update phpPgAdmin url
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
if ($_POST['v_psql_url'] != $_SESSION['DB_PGA_URL']) {
|
||||
if ($_POST['v_pgsql_url'] != $_SESSION['DB_PGA_URL']) {
|
||||
exec (VESTA_CMD."v-change-sys-config-value DB_PGA_URL '".escapeshellarg($_POST['v_pgsql_url'])."'", $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
unset($output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue