diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-10-06 14:32:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-06 14:32:07 +0200 |
commit | c8d96b4729a96ff2321862ca13a727658860e7a5 (patch) | |
tree | b9d19abb6351f972027dc8301d9869ba04ae45ea /index.php | |
parent | b3e39bf57ecf0f92357b1f15051cf2e9d3f1b267 (diff) | |
parent | b3e1f92e9cd0cae35bc726ca3a2356b4e631ccfa (diff) | |
download | Shaarli-c8d96b4729a96ff2321862ca13a727658860e7a5.tar.gz Shaarli-c8d96b4729a96ff2321862ca13a727658860e7a5.tar.zst Shaarli-c8d96b4729a96ff2321862ca13a727658860e7a5.zip |
Merge pull request #979 from ArthurHoaro/feature/assets-cache-version
Add a version hash for asset loading to prevent browser's cache issue
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ try { | |||
88 | exit; | 88 | exit; |
89 | } | 89 | } |
90 | 90 | ||
91 | define('shaarli_version', ApplicationUtils::getVersion(__DIR__ .'/'. ApplicationUtils::$VERSION_FILE)); | 91 | define('SHAARLI_VERSION', ApplicationUtils::getVersion(__DIR__ .'/'. ApplicationUtils::$VERSION_FILE)); |
92 | 92 | ||
93 | // Force cookie path (but do not change lifetime) | 93 | // Force cookie path (but do not change lifetime) |
94 | $cookie = session_get_cookie_params(); | 94 | $cookie = session_get_cookie_params(); |