From e985a76baee097b8839716d2b8a5a87c6fd3b335 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 16 Apr 2014 15:29:35 +0300 Subject: [PATCH] useCache client --- application/Espo/Core/Application.php | 1 + frontend/html/main.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@