From 11fed2c8ce3dd38fe686e7b27db738f64373fe3d Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sun, 22 Dec 2024 13:13:25 +0100 Subject: Add template caching --- src/application/templates/old/base.twig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/application/templates') diff --git a/src/application/templates/old/base.twig b/src/application/templates/old/base.twig index bdb9768..bbac643 100644 --- a/src/application/templates/old/base.twig +++ b/src/application/templates/old/base.twig @@ -80,6 +80,9 @@ {{ __("Number of database queries: %count%", { count: getQueryCount(), }) }} + {% if constant("DEBUG") == true %} + <br><font color="red"><b>Debug mode</b></font> + {% endif %} </td> <td align="right"> <table><tr><td> -- cgit v1.2.3