From a348557e7cb9b91f87a2050eb086790503a9d2c5 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Thu, 2 Aug 2012 01:27:59 +0200 Subject: [PATCH] Move configuration to a configuration file --- config.json | 30 ++++++++++++++++++++++++++++++ public_html/index.php | 1 + 2 files changed, 31 insertions(+) create mode 100644 config.json diff --git a/config.json b/config.json new file mode 100644 index 0000000..e2c49f9 --- /dev/null +++ b/config.json @@ -0,0 +1,30 @@ +{ + "database": { + "driver": "mysql", + "hostname": "localhost", + "username": "root", + "password": "", + "database": "team" + }, + "locale": { + "default_locale": "english", + "default_timezone": "Europe/Amsterdam" + }, + "memcache": { + "enabled": true, + "compressed": true, + "hostname": "localhost", + "port": 11211 + }, + "class_map": { + "user": "User", + "interestgroup": "InterestGroup", + "project": "Project", + "repository": "Repository", + "ticket": "Ticket" + }, + "components": [ + "router", + "errorhandler" + ] +} diff --git a/public_html/index.php b/public_html/index.php index 28ce046..5e83324 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -1,4 +1,5 @@