aboutsummaryrefslogtreecommitdiffstats
path: root/files/var
diff options
context:
space:
mode:
Diffstat (limited to 'files/var')
-rw-r--r--files/var/www/app/config.php13
-rw-r--r--files/var/www/app/config/config.php13
2 files changed, 13 insertions, 13 deletions
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 @@
-<?php
- $c->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 @@
+<?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');