Disable API on mobile theme if disabled
This commit is contained in:
parent
8393053641
commit
b57f6b59a1
@ -18,4 +18,4 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<li>These stats are also available in JSON format <a href="{$smarty.server.PHP_SELF}?page=api&action=public" target="_api">HERE</a></li>
|
||||
{if !$GLOBAL.config.website.api.disabled}<li>These stats are also available in JSON format <a href="{$smarty.server.PHP_SELF}?page=api&action=public" target="_api">HERE</a></li>{/if}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user