Cleaned up the config interface.
[citadel.git] / ctdlphp / config_ctdlclient.php
1 <?PHP
2
3 // Please override these defaults in config_ctdlclient_local.php, not here.
4
5 include "config_ctdlclient_local.php";
6
7 // Examples:
8 // 
9 // On the same host:
10 // unix:///var/run/citadel/citadel.sock
11 //
12 // On a different host (or via loopback):
13 // tcp://citserver.example.com
14 // tcp://127.0.0.1
15
16 if (!defined('CITADEL_HOSTNAME')) {
17         define('CITADEL_HOSTNAME',"tcp://127.0.0.1");
18 }
19
20 // make it 0 to use unix domain sockets
21 if (!defined('CITADEL_TCP_PORTNO')) {
22         define('CITADEL_TCP_PORTNO','504');
23 }
24
25 // do you want to see the server conversation for exploring the protocol?
26 if (!defined('CITADEL_DEBUG_CITPROTO')) {
27         define('CITADEL_DEBUG_CITPROTO',0);
28 }
29 if (!defined('CITADEL_DEBUG_PROXY')) {
30         define('CITADEL_DEBUG_PROXY', FALSE);
31 }
32
33 ?>