2000-08-18 05:24:22 +02:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
|
|
|
* phpGroupWare *
|
|
|
|
* http://www.phpgroupware.org *
|
|
|
|
* This file written by Dan Kuykendall <seek3r@phpgroupware.org> *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/**************************************************************************\
|
2000-10-23 21:07:33 +02:00
|
|
|
* !!!!!!! EDIT THESE LINES !!!!!!!! *
|
|
|
|
* This setting allows you to easily move the include directory and the *
|
|
|
|
* base of the phpGroupWare install. Simple edit the following 2 lines with *
|
|
|
|
* the absolute path to fit your site, and you should be up and running. *
|
2000-08-18 05:24:22 +02:00
|
|
|
\**************************************************************************/
|
|
|
|
|
2000-09-28 02:35:27 +02:00
|
|
|
$phpgw_info["server"]["server_root"] = "/path/to/phpgroupware";
|
2000-08-20 23:34:33 +02:00
|
|
|
$phpgw_info["server"]["include_root"] = "/path/to/phpgroupware/inc";
|
2000-08-18 05:24:22 +02:00
|
|
|
/* This is the basic include needed on each page for phpGroupWare application compliance */
|
2000-09-05 20:36:13 +02:00
|
|
|
$phpgw_info["flags"]["htmlcompliant"] = True;
|
2000-08-18 05:24:22 +02:00
|
|
|
|
2000-09-28 02:35:27 +02:00
|
|
|
/* 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";
|
2000-10-05 18:42:53 +02:00
|
|
|
$phpgw_info["server"]["db_type"] = "mysql"; //mysql, pgsql (for postgresql), or oracle
|
2000-09-28 02:35:27 +02:00
|
|
|
|
|
|
|
/* This will limit who is allowed to make configuration modifcations */
|
|
|
|
$phpgw_info["server"]["config_passwd"] = "changeme";
|
|
|
|
|
2000-08-18 05:24:22 +02:00
|
|
|
/**************************************************************************\
|
2000-09-28 02:35:27 +02:00
|
|
|
* Do not edit these lines *
|
2000-08-18 05:24:22 +02:00
|
|
|
\**************************************************************************/
|
2000-10-04 19:49:36 +02:00
|
|
|
include($phpgw_info["server"]["server_root"]."/version.inc.php");
|
2000-10-05 18:42:53 +02:00
|
|
|
$phpgw_info["server"]["header_version"] = "1.2";
|
2000-09-28 02:35:27 +02:00
|
|
|
if (!$phpgw_info["flags"]["noapi"] == True){
|
|
|
|
include($phpgw_info["server"]["include_root"] . "/phpgwapi/phpgw.inc.php");
|
|
|
|
}
|
2000-09-30 00:26:31 +02:00
|
|
|
|
|
|
|
// Leave off the final php closing tag, some editors will add
|
|
|
|
// a \n or space after which will mess up cookies later on
|