From 1a2d19d2a792e0bb779827f74fa691dbdf5e74c4 Mon Sep 17 00:00:00 2001 From: seek3r Date: Mon, 20 Nov 2000 16:59:21 +0000 Subject: [PATCH] changing design a bit --- header.inc.php.sample | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/header.inc.php.sample b/header.inc.php.sample index 517ba48bad..f34c9ba18d 100644 --- a/header.inc.php.sample +++ b/header.inc.php.sample @@ -24,17 +24,16 @@ /* This is the basic include needed on each page for phpGroupWare application compliance */ $phpgw_info["flags"]["htmlcompliant"] = True; - /* These are the settings for the database system */ - $phpgw_info["server"]["db_host"] = "localhost"; - $phpgw_info["server"]["db_name"] = "phpgroupware"; - $phpgw_info["server"]["db_user"] = "phpgroupware"; - $phpgw_info["server"]["db_pass"] = "your_password"; + $phpgw_domain["default"] = array ( + "db_host" => "localhost", + "db_name" => "phpgw_domain1", + "db_user" => "phpgroupware", + "db_pass" => "their_password", /* Look at the README file */ - $phpgw_info["server"]["db_type"] = "mysql"; //mysql, pgsql (for postgresql), oracle, - //msql (not tested), mssql (not tested), sybase (not tested), or odbc (not tested) - + "db_type" => "mysql", /* This will limit who is allowed to make configuration modifcations */ - $phpgw_info["server"]["config_passwd"] = "changeme"; + "config_passwd" => "changeme" + ); /* This is used to control mcrypt's use */ $phpgw_info["server"]["mcrypt_enabled"] = False; @@ -51,7 +50,7 @@ /* Use this for supporting different domains using this single install */ /* (ignore if you are only supporting a single domain)*/ $phpgw_info["multiable_domains"] = False; //Set to True and create an array for each domain. - $phpgw_domain["domain1.com"] = array ( + $phpgw_domain["domain2.com"] = array ( "db_host" => "localhost", "db_name" => "phpgw_domain1", "db_user" => "phpgroupware",