From 5a7be2370380b7d8cc42670114531f38d8d4197a Mon Sep 17 00:00:00 2001
From: moglia <moglia@ispconfig3>
Date: Sun, 09 Aug 2009 23:09:24 -0400
Subject: [PATCH] Fixed url redirect for phpmyadmin if you use another port as not a standards ports. I tested on my production environment. If database is on another server i presume all of panels is on same port. If not need put a field called port on server table, or another way to solve it.
---
interface/web/admin/system_config_edit.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/interface/web/admin/system_config_edit.php b/interface/web/admin/system_config_edit.php
index 62ffef5..6107f20 100644
--- a/interface/web/admin/system_config_edit.php
+++ b/interface/web/admin/system_config_edit.php
@@ -62,6 +62,7 @@
$server_id = $this->id;
$this->dataRecord = $app->getconf->get_global_config($section);
+
}
$record = $app->tform->getHTML($this->dataRecord, $this->active_tab,'EDIT');
@@ -78,9 +79,8 @@
$app->uses('ini_parser,getconf');
$section = $app->tform->getCurrentTab();
- $server_id = $this->id;
- $server_config_array = $app->getconf->get_global_config($server_id);
+ $server_config_array = $app->getconf->get_global_config();
$server_config_array[$section] = $app->tform->encode($this->dataRecord,$section);
$server_config_str = $app->ini_parser->get_ini_string($server_config_array);
--
Gitblit v1.9.1