mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
15 lines
389 B
PHP
15 lines
389 B
PHP
<?php
|
|
$c->domainname = "mycaldav.andrew";
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
?>
|