mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
moved all references from pgsql to postgresql
This commit is contained in:
parent
53eeabf532
commit
c6b5d78bef
@ -29,7 +29,7 @@
|
||||
$phpgw_info["server"]["db_name"] = "phpgroupware";
|
||||
$phpgw_info["server"]["db_user"] = "phpgroupware";
|
||||
$phpgw_info["server"]["db_pass"] = "your_password";
|
||||
$phpgw_info["server"]["db_type"] = "mysql"; //mysql, postgresql, or oracle
|
||||
$phpgw_info["server"]["db_type"] = "mysql"; //mysql, pgsql (for postgresql), or oracle
|
||||
|
||||
/* This will limit who is allowed to make configuration modifcations */
|
||||
$phpgw_info["server"]["config_passwd"] = "changeme";
|
||||
@ -38,7 +38,7 @@
|
||||
* Do not edit these lines *
|
||||
\**************************************************************************/
|
||||
include($phpgw_info["server"]["server_root"]."/version.inc.php");
|
||||
$phpgw_info["server"]["header_version"] = "1.1";
|
||||
$phpgw_info["server"]["header_version"] = "1.2";
|
||||
if (!$phpgw_info["flags"]["noapi"] == True){
|
||||
include($phpgw_info["server"]["include_root"] . "/phpgwapi/phpgw.inc.php");
|
||||
}
|
||||
|
@ -25,16 +25,7 @@
|
||||
echo "<body bgcolor='#ffffff'>\n";
|
||||
|
||||
/* Database setup */
|
||||
switch($phpgw_info["server"]["db_type"]){
|
||||
case "postgresql":
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_pgsql.inc.php");
|
||||
break;
|
||||
case "oracle":
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_oracle.inc.php");
|
||||
break;
|
||||
default:
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_mysql.inc.php");
|
||||
}
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_".$phpgw_info["server"]["db_type"].".inc.php");
|
||||
|
||||
$db = new db;
|
||||
$db->Host = $phpgw_info["server"]["db_host"];
|
||||
|
@ -21,16 +21,7 @@
|
||||
// Does not return unless user is authorized
|
||||
|
||||
/* Database setup */
|
||||
switch($phpgw_info["server"]["db_type"]){
|
||||
case "postgresql":
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_pgsql.inc.php");
|
||||
break;
|
||||
case "oracle":
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_oracle.inc.php");
|
||||
break;
|
||||
default:
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_mysql.inc.php");
|
||||
}
|
||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_".$phpgw_info["server"]["db_type"].".inc.php");
|
||||
|
||||
$db = new db;
|
||||
$db->Host = $phpgw_info["server"]["db_host"];
|
||||
|
Loading…
Reference in New Issue
Block a user