From b57f6b59a1f69bf4338d82a395b438d342b08070 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 18 Jul 2013 10:49:16 +0200 Subject: [PATCH] Disable API on mobile theme if disabled --- public/templates/mobile/statistics/default.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/mobile/statistics/default.tpl b/public/templates/mobile/statistics/default.tpl index 994e60a3..7b03653d 100644 --- a/public/templates/mobile/statistics/default.tpl +++ b/public/templates/mobile/statistics/default.tpl @@ -18,4 +18,4 @@ -
  • These stats are also available in JSON format HERE
  • +{if !$GLOBAL.config.website.api.disabled}
  • These stats are also available in JSON format HERE
  • {/if}