From: Christian Weiske Date: Mon, 1 Oct 2012 20:23:20 +0000 (+0200) Subject: Fix bug #27: render .json files X-Git-Tag: v0.4.0~127 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/7cc025552b3ac61cd3889ebb8103aab364be8a3a Fix bug #27: render .json files --- diff --git a/ChangeLog b/ChangeLog index 03855dc..fc17753 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-10-01 Christian Weiske + + * Fix bug #27: render .json files + 2012-09-28 Christian Weiske * Check for OpenID package in SetupCheck diff --git a/data/config.default.php b/data/config.default.php index abcb43e..1374b1b 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -66,6 +66,12 @@ $GLOBALS['phorkie']['languages'] = array( 'mime' => 'application/javascript', 'geshi' => 'javascript' ), + 'json' => array( + 'title' => 'Javascript', + 'mime' => 'application/javascript', + 'geshi' => 'javascript', + 'show' => false + ), 'md' => array( 'title' => 'Markdown', 'mime' => 'text/x-markdown',