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-11-28 20:17:39 +01:00
|
|
|
$phpgw_info["server"]["server_root"] = "__SERVER_ROOT__";
|
|
|
|
$phpgw_info["server"]["include_root"] = "__INCLUDE_ROOT__";
|
2000-08-18 05:24:22 +02:00
|
|
|
/* This is the basic include needed on each page for phpGroupWare application compliance */
|
2000-11-28 20:17:39 +01:00
|
|
|
$phpgw_info["flags"]["htmlcompliant"] = __HTMLCOMPLIANT__;
|
|
|
|
|
2000-11-20 17:59:21 +01:00
|
|
|
$phpgw_domain["default"] = array (
|
2000-11-28 20:17:39 +01:00
|
|
|
"db_host" => "__DB_HOST__",
|
|
|
|
"db_name" => "__DB_NAME__",
|
|
|
|
"db_user" => "__DB_USER__",
|
|
|
|
"db_pass" => "__DB_PASS__",
|
2000-11-19 11:22:15 +01:00
|
|
|
/* Look at the README file */
|
2000-11-28 20:17:39 +01:00
|
|
|
"db_type" => "__DB_TYPE__",
|
2000-09-28 02:35:27 +02:00
|
|
|
/* This will limit who is allowed to make configuration modifcations */
|
2000-11-28 20:17:39 +01:00
|
|
|
"config_passwd" => "__CONFIG_PASS__"
|
2000-11-20 17:59:21 +01:00
|
|
|
);
|
2000-09-28 02:35:27 +02:00
|
|
|
|
2000-10-31 07:46:46 +01:00
|
|
|
/* This is used to control mcrypt's use */
|
2000-11-28 20:17:39 +01:00
|
|
|
$phpgw_info["server"]["mcrypt_enabled"] = __ENABLE_MCRYPT__;
|
2000-10-31 07:46:46 +01:00
|
|
|
/* Set this to "old" for versions < 2.4, otherwise the exact mcrypt version you use. */
|
2000-11-28 20:17:39 +01:00
|
|
|
$phpgw_info["server"]["mcrypt_version"] = "__MCRYPT_VERSION__";
|
2000-10-31 07:46:46 +01:00
|
|
|
|
|
|
|
/* This is a random string used as the initilazation vector for mcrypt
|
|
|
|
feel free to change it when setting up phpgroupware on a clean database,
|
|
|
|
but you must not change it after that point!
|
|
|
|
It should be around 30 bytes in length.
|
|
|
|
*/
|
2000-11-28 20:17:39 +01:00
|
|
|
$phpgw_info["server"]["mcrypt_iv"] = "__MCRYPT_IV__";
|
2000-10-31 07:46:46 +01:00
|
|
|
|
2000-11-21 19:04:19 +01:00
|
|
|
/* Uncomment this out and use this for supporting different domains using this single install */
|
2000-11-19 11:22:15 +01:00
|
|
|
/* (ignore if you are only supporting a single domain)*/
|
2000-11-21 19:04:19 +01:00
|
|
|
/*
|
2000-11-20 17:59:21 +01:00
|
|
|
$phpgw_domain["domain2.com"] = array (
|
2000-11-19 11:22:15 +01:00
|
|
|
"db_host" => "localhost",
|
2000-11-28 20:17:39 +01:00
|
|
|
"db_name" => "phpgw_domain2",
|
2000-11-19 11:22:15 +01:00
|
|
|
"db_user" => "phpgroupware",
|
|
|
|
"db_pass" => "their_password",
|
|
|
|
"db_type" => "mysql",
|
|
|
|
"config_passwd" => "changeme"
|
|
|
|
);
|
2000-11-21 19:04:19 +01:00
|
|
|
*/
|
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-11-21 19:04:19 +01:00
|
|
|
$phpgw_info["server"]["header_version"] = "1.4";
|
2000-11-29 13:14:18 +01:00
|
|
|
// This is a fix for NT
|
|
|
|
if (!isset($phpgw_info["flags"]["noapi"]) ||
|
|
|
|
!$phpgw_info["flags"]["noapi"] == True){
|
2000-09-28 02:35:27 +02:00
|
|
|
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
|