From 39edfec85487f7de81fbade3c31bf2de4fabff9f Mon Sep 17 00:00:00 2001
From: redray <redray@ispconfig3>
Date: Mon, 15 Dec 2008 13:04:21 -0500
Subject: [PATCH] removed "options indexes"
---
install/lib/installer_base.lib.php | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index 09086b1..d33b304 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -159,6 +159,11 @@
if(count($db_tables) == 0) {
$this->error('Unable to load SQL-Dump into database table.');
}
+
+ //* Load system.ini into the sys_ini table
+ $system_ini = $this->db->quote(rf('tpl/system.ini.master'));
+ $this->db->query("UPDATE sys_ini SET config = '$system_ini' WHERE sysini_id = 1");
+
}
}
@@ -714,7 +719,7 @@
$tcp_public_services = trim(str_replace(',',' ',$row["tcp_port"]));
$udp_public_services = trim(str_replace(',',' ',$row["udp_port"]));
} else {
- $tcp_public_services = '21 22 25 53 80 110 443 8080 10000';
+ $tcp_public_services = '21 22 25 53 80 110 443 3306 8080 10000';
$udp_public_services = '53';
}
$content = str_replace("{TCP_PUBLIC_SERVICES}", $tcp_public_services, $content);
--
Gitblit v1.9.1