aboutsummaryrefslogtreecommitdiffstats
path: root/files/var/www/app/config/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/var/www/app/config/config.php')
-rw-r--r--files/var/www/app/config/config.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/files/var/www/app/config/config.php b/files/var/www/app/config/config.php
new file mode 100644
index 0000000..f34328e
--- /dev/null
+++ b/files/var/www/app/config/config.php
@@ -0,0 +1,13 @@
+<?php
+ $c->domain_name = "#APACHE_SERVER_NAME";
+ $c->sysabbr = 'DAViCal';
+ $c->admin_email = "#ADMIN_MAIL";
+ $c->system_name = "#SYSTEM_NAME";
+ $c->pg_connect[] = "dbname=#DATABASE_NAME port=#DATABASE_PORT user=#DATABASE_USER host=#DATABASE_HOST password=#DATABASE_PASSWORD";
+
+/*
+ * Use Apache-supplied headers and believe them
+ */
+
+ $c->authenticate_hook['server_auth_type'] = 'Basic';
+ include_once('AuthPlugins.php');