diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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()), |