From 010e82fe94a2d2b41f518a4ac3325ffa0dc2e5b5 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sat, 9 Feb 2019 14:48:22 +0100 Subject: finishing work. davical now works with my setup --- files/var/www/app/config.php | 13 ------------- files/var/www/app/config/config.php | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 files/var/www/app/config.php create mode 100644 files/var/www/app/config/config.php (limited to 'files/var') diff --git a/files/var/www/app/config.php b/files/var/www/app/config.php deleted file mode 100644 index f25f096..0000000 --- a/files/var/www/app/config.php +++ /dev/null @@ -1,13 +0,0 @@ -domain_name = "davical.eriksen.im"; - $c->sysabbr = 'DAViCal'; - $c->admin_email = 'dennis@eriksen.im'; - $c->system_name = "Eriksens DAViCal Server"; - $c->pg_connect[] = 'dbname=davical port=5432 user=davical_app'; - -/* - * Use Apache-supplied headers and believe them - */ - - $c->authenticate_hook['server_auth_type'] = 'Basic'; - include_once('AuthPlugins.php'); 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 @@ +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'); -- cgit v1.2.3