aboutsummaryrefslogtreecommitdiffstats
path: root/files/var/www/app/config/config.php
diff options
context:
space:
mode:
authorDennis Eriksen <dennis@terje.dnns.no>2019-02-09 14:48:22 +0100
committerDennis Eriksen <dennis@terje.dnns.no>2019-02-09 14:48:22 +0100
commit010e82fe94a2d2b41f518a4ac3325ffa0dc2e5b5 (patch)
treeaeb6d14bc238d172e98a6be19a9b6528e4c35042 /files/var/www/app/config/config.php
parentInitial commit (diff)
downloaddavical-docker-010e82fe94a2d2b41f518a4ac3325ffa0dc2e5b5.tar.gz
finishing work. davical now works with my setup
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');