aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2017-10-06 14:32:07 +0200
committerGitHub <noreply@github.com>2017-10-06 14:32:07 +0200
commitc8d96b4729a96ff2321862ca13a727658860e7a5 (patch)
treeb9d19abb6351f972027dc8301d9869ba04ae45ea /index.php
parentb3e39bf57ecf0f92357b1f15051cf2e9d3f1b267 (diff)
parentb3e1f92e9cd0cae35bc726ca3a2356b4e631ccfa (diff)
downloadShaarli-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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 43aab303..c2552ce8 100644
--- a/index.php
+++ b/index.php
@@ -88,7 +88,7 @@ try {
88 exit; 88 exit;
89} 89}
90 90
91define('shaarli_version', ApplicationUtils::getVersion(__DIR__ .'/'. ApplicationUtils::$VERSION_FILE)); 91define('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();