Config switch to YAML

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-04-22 19:28:27 +02:00
parent edca0cc8cc
commit ac65f5ee70
4 changed files with 58 additions and 52 deletions

View file

@ -27,7 +27,7 @@ THE SOFTWARE.
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = '<?php echo $blogdisqus; ?>';
var disqus_shortname = '<?php echo $config['blog']['disqus']; ?>';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {

View file

@ -26,7 +26,7 @@
*/
if ($bloganalytics) { // check if google analytics is enabled
if ($config["blog"]["analytics"]) { // check if google analytics is enabled
if (!($_SERVER['HTTP_DNT'] == 1)) {
?>
<script>