1
0
Fork 0
mirror of synced 2024-05-21 05:02:37 +12:00

Add cache buster to version number

This commit is contained in:
Eldad Fux 2020-04-27 21:35:08 +03:00
parent 718287544b
commit 94b409cef4
2 changed files with 2 additions and 2 deletions

View file

@ -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';

View file

@ -1,6 +1,6 @@
<?php
$home = $this->getParam('home', '');
$version = $this->getParam('version', '');
$version = $this->getParam('version', '').'.'.APP_CACHE_BUSTER;
?>
<footer class="clear margin-top-large">
<ul class="copyright pull-start">