mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-18 04:13:38 +00:00
23 lines
596 B
PHP
23 lines
596 B
PHP
<?php
|
|
// $c->domainname = "mycaldav.andrew";
|
|
// $c->sysabbr = 'rscds';
|
|
// $c->admin_email = 'andrew@catalyst.net.nz';
|
|
// $c->system_name = "Really Simple CalDAV Store";
|
|
|
|
if ( ! $dbconn = pg_Connect("port=5433 dbname=caldav user=general") ) {
|
|
if ( ! $dbconn = pg_Connect("port=5432 dbname=caldav user=general") ) {
|
|
echo "<html><head><title>Database Error</title></head><body>
|
|
<h1>Database Error</h1>
|
|
<h3>Could not connect to PGPool or to Postgres</h3>
|
|
</body>
|
|
</html>";
|
|
exit;
|
|
}
|
|
}
|
|
|
|
$c->dbg['vevent'] = 1;
|
|
$c->dbg['put'] = 1;
|
|
$c->dbg['report'] = 1;
|
|
|
|
|
|
?>
|