From 94b409cef4ee6cf2ae9490c03e8baff2853366a7 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 27 Apr 2020 21:35:08 +0300 Subject: [PATCH] Add cache buster to version number --- app/init.php | 2 +- app/views/console/comps/footer.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/init.php b/app/init.php index 10d2677bc..b1d0fc5c2 100644 --- a/app/init.php +++ b/app/init.php @@ -32,7 +32,7 @@ const APP_EMAIL_SECURITY = 'security@localhost.test'; // Default security email const APP_USERAGENT = APP_NAME.'-Server v%s. Please report abuse at %s'; const APP_MODE_ADMIN = 'admin'; const APP_PAGING_LIMIT = 15; -const APP_CACHE_BUSTER = 99; +const APP_CACHE_BUSTER = 102; const APP_VERSION_STABLE = '0.5.3'; const APP_STORAGE_UPLOADS = '/storage/uploads'; const APP_STORAGE_CACHE = '/storage/cache'; diff --git a/app/views/console/comps/footer.phtml b/app/views/console/comps/footer.phtml index 8e0064f02..e8f7770d6 100644 --- a/app/views/console/comps/footer.phtml +++ b/app/views/console/comps/footer.phtml @@ -1,6 +1,6 @@ getParam('home', ''); -$version = $this->getParam('version', ''); +$version = $this->getParam('version', '').'.'.APP_CACHE_BUSTER; ?>