diff --git a/application/Espo/Core/Application.php b/application/Espo/Core/Application.php index 6c91412a0a..ba9cd0c657 100644 --- a/application/Espo/Core/Application.php +++ b/application/Espo/Core/Application.php @@ -87,6 +87,7 @@ class Application $html = file_get_contents('main.html'); $html = str_replace('{{cacheTimestamp}}', $config->get('cacheTimestamp', 0), $html); + $html = str_replace('{{useCache}}', $config->get('useCache') ? 'true' : 'false' , $html); echo $html; exit; } diff --git a/frontend/html/main.html b/frontend/html/main.html index 356580c559..207946411f 100644 --- a/frontend/html/main.html +++ b/frontend/html/main.html @@ -10,7 +10,7 @@