This repository has been archived by the owner on Jan 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.php.dist
88 lines (80 loc) · 3.52 KB
/
conf.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/**
* Horde Configuration File
*
* This file contains intial configuration settings for Horde.
* It contains basic settings that allow you to log into Horde and
* complete the configuration with configuration interface. The first
* change you should do is to select a sensible authentication driver
* and administrator user name.
*
* The only settings that might need changes if you are not running
* Horde in a "default" setup are documented below.
*
* Strings should be enclosed in 'quotes'.
* Integers should be given literally (without quotes).
* Boolean values may be true or false (never quotes).
*
* $Id: ece403cee0a0710ffebe617031f2847d67550434 $
*/
// Determines how we generate full URLs (for location headers and
// such). Possible values are:
// 0 - Assume that we are not using SSL and never generate https URLS.
// 1 - Assume that we are using SSL and always generate https URLS.
// NOTE: If you do this, you MUST hardcode the correct HTTPS port
// number in $conf['server']['port'] below. Otherwise Horde will
// be unable to generate correct HTTPS URLs when a user tries to
// access Horde via a non-HTTPS port.
// 2 - Attempt to auto-detect, and generate URLs appropriately.
$conf['use_ssl'] = 2;
// What server name should we use? You'll probably know if you need to
// change this default; only in situations where you need to override
// what Apache thinks the server name is.
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
// What port number is the webserver running on? Again, you shouldn't
// need to change the default, and you probably know it if you do. The
// exception is if you have $conf['use_ssl'] set to 1, as described
// above.
// $conf['server']['port'] = 80;
// What domain should we set cookies from? If you have a cluster that
// needs to share cookies, this might be '.example.com' - the leading
// '.' is important. Most likely, though, you won't have to change the
// default.
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
// What path should we set cookies to? For maximum security this should
// match the URL where Horde is on your webserver.
// If Horde is at /horde, then this should be '/horde'.
// If Horde is installed as the document root, then this
// needs to be '/' - NOT ''.
// ** BUT, if IE will be used to access Horde modules, you should read
// this first (discussing issues with IE's Content Advisor):
// http://lists.horde.org/archives/imp/Week-of-Mon-20030113/029149.html
$conf['cookie']['path'] = '/';
// Disable the test script (horde/test.php)? For security reasons, this is
// disabled by default.
$conf['testdisable'] = true;
// <CUSTOM>
$conf['sql']['database'] = '/srv/sqlite/horde.sqlite';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['phptype'] = 'sqlite';
// </CUSTOM>
// YOU SHOULDN'T CHANGE ANTHING BELOW THIS LINE.
$conf['debug_level'] = E_ALL & ~E_NOTICE;
$conf['umask'] = 077;
$conf['compress_pages'] = true;
$conf['max_exec_time'] = 0;
$conf['session']['name'] = 'Horde';
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['max_time'] = 72000;
$conf['session']['timeout'] = 0;
$conf['auth']['admins'] = array('Administrator');
$conf['auth']['driver'] = 'auto';
$conf['auth']['params'] = array('username' => 'Administrator');
$conf['prefs']['driver'] = 'Sql';
$conf['portal']['fixed_blocks'] = array();
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;
$conf['log']['priority'] = 'INFO';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = LOG_USER;
$conf['log']['type'] = 'syslog';
$conf['log']['enabled'] = true;