From 905663d6c12c0ccad01ca80d50c3b83fb1f9466c Mon Sep 17 00:00:00 2001 From: wichu <wichu@ispconfig3> Date: Thu, 10 May 2012 17:29:20 -0400 Subject: [PATCH] Changed the UI for the DNS SRV records to help the user (instead of giving him 1 field which have to have 3 texts, now there are 3 fields which will be concated for the database and splitted for the user). --- interface/web/admin/software_package_install.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/interface/web/admin/software_package_install.php b/interface/web/admin/software_package_install.php index 97bf1bf..eb7a72a 100644 --- a/interface/web/admin/software_package_install.php +++ b/interface/web/admin/software_package_install.php @@ -114,10 +114,11 @@ $package_config_str = $app->ini_parser->get_ini_string($package_config_array); $package['package_config'] = $package_config_str; + $remote_password_md5 = md5($remote_password); $app->db->datalogUpdate('software_package', "package_config = '".$app->db->quote($package_config_str)."'", 'package_id',$package['package_id']); $sql = "INSERT INTO `remote_user` (`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `remote_username`, `remote_password`, `remote_functions`) VALUES - (1, 1, 'riud', 'riud', '', '$remote_user', '$remote_password', '$remote_functions');"; + (1, 1, 'riud', 'riud', '', '$remote_user', '$remote_password_md5', '$remote_functions');"; $app->db->query($sql); -- Gitblit v1.9.1