X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=ctdlphp%2Fconfig_ctdlclient.php;h=bcbdf45c1751a7ec889cab36b794b25f6b28d167;hb=0cc5b6dfb371e675478f709e340ef6a4bf42e62e;hp=bfedf45fcb8f7e43034d3e71e5a17d2a7b67e35e;hpb=d9b7bce771bf2b90821d18030577668036216990;p=citadel.git diff --git a/ctdlphp/config_ctdlclient.php b/ctdlphp/config_ctdlclient.php index bfedf45fc..bcbdf45c1 100644 --- a/ctdlphp/config_ctdlclient.php +++ b/ctdlphp/config_ctdlclient.php @@ -1,16 +1,33 @@ \ No newline at end of file +// Examples: +// +// On the same host: +// unix:///var/run/citadel/citadel.sock +// +// On a different host (or via loopback): +// tcp://citserver.example.com +// tcp://127.0.0.1 + +if (!defined('CITADEL_HOSTNAME')) { + define('CITADEL_HOSTNAME',"tcp://127.0.0.1"); +} + +// make it 0 to use unix domain sockets +if (!defined('CITADEL_TCP_PORTNO')) { + define('CITADEL_TCP_PORTNO','504'); +} + +// do you want to see the server conversation for exploring the protocol? +if (!defined('CITADEL_DEBUG_CITPROTO')) { + define('CITADEL_DEBUG_CITPROTO',0); +} +if (!defined('CITADEL_DEBUG_PROXY')) { + define('CITADEL_DEBUG_PROXY', FALSE); +} + +?>