From fbf7d5aa7319e31ec2a629e2081a2596ff659de7 Mon Sep 17 00:00:00 2001
From: fantu <fantu@ispconfig3>
Date: Fri, 25 Apr 2008 07:34:16 -0400
Subject: [PATCH] Add other italian text files
---
install/lib/installer_base.lib.php | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index 4ab9a95..e7ef2d6 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -153,6 +153,17 @@
}
}
+ //** Create a recors in the
+ public function add_database_server_record() {
+
+ $server_ini_content = rf("tpl/server.ini.master");
+ $server_ini_content = addslashes($server_ini_content);
+
+ $sql = "INSERT INTO `server` (`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_name`, `mail_server`, `web_server`, `dns_server`, `file_server`, `db_server`, `vserver_server`, `config`, `updated`, `active`) VALUES (1, 1, 'riud', 'riud', 'r', 'Server', 1, 1, 1, 1, 1, 1, '$server_ini_content', 0, 1);";
+ $this->db->query($sql);
+ $this->conf['server_id'] = $this->db->insertID();
+ }
+
//** writes postfix configuration files
private function process_postfix_config($configfile)
@@ -576,8 +587,9 @@
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
//* Create a symlink, so ISPConfig is accessible via web
- $command = "ln -s $install_dir/interface/web/ /var/www/ispconfig";
- caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
+ // Replaced by a separate vhost definition for port 8080
+ // $command = "ln -s $install_dir/interface/web/ /var/www/ispconfig";
+ // caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
//* Create the config file for ISPConfig interface
$configfile = 'config.inc.php';
--
Gitblit v1.9.1