aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--index.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/index.php b/index.php
index b109937..1c0df61 100644
--- a/index.php
+++ b/index.php
@@ -112,6 +112,12 @@ try {
exit;
}
+ else if($route == 'config.json')
+ {
+ require('view/config-json.php');
+ exit;
+ }
+
else if($route == 'about')
{
// global about-page
@@ -182,6 +188,12 @@ ob_start();
try {
$conference = Conferences::getConference($mandator);
+ if($route == 'config.json')
+ {
+ require('view/config-json.php');
+ exit();
+ }
+
// update template information
$tpl->set(array(
'baseurl' => forceslash(baseurl()),