diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-10-01 11:09:12 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-10-01 11:11:16 +0200 |
commit | b3e1f92e9cd0cae35bc726ca3a2356b4e631ccfa (patch) | |
tree | 80b895646c20557558a5e2b5d080e7db06d68d01 /application/PageBuilder.php | |
parent | bfe4f536bbfe03f38e0c801bfbd26587a2b64a7f (diff) | |
download | Shaarli-b3e1f92e9cd0cae35bc726ca3a2356b4e631ccfa.tar.gz Shaarli-b3e1f92e9cd0cae35bc726ca3a2356b4e631ccfa.tar.zst Shaarli-b3e1f92e9cd0cae35bc726ca3a2356b4e631ccfa.zip |
Rename shaarli_version constant to uppercase
Diffstat (limited to 'application/PageBuilder.php')
-rw-r--r-- | application/PageBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/PageBuilder.php b/application/PageBuilder.php index c91b662c..291860ad 100644 --- a/application/PageBuilder.php +++ b/application/PageBuilder.php | |||
@@ -49,7 +49,7 @@ class PageBuilder | |||
49 | 49 | ||
50 | try { | 50 | try { |
51 | $version = ApplicationUtils::checkUpdate( | 51 | $version = ApplicationUtils::checkUpdate( |
52 | shaarli_version, | 52 | SHAARLI_VERSION, |
53 | $this->conf->get('resource.update_check'), | 53 | $this->conf->get('resource.update_check'), |
54 | $this->conf->get('updates.check_updates_interval'), | 54 | $this->conf->get('updates.check_updates_interval'), |
55 | $this->conf->get('updates.check_updates'), | 55 | $this->conf->get('updates.check_updates'), |
@@ -75,7 +75,7 @@ class PageBuilder | |||
75 | } | 75 | } |
76 | $this->tpl->assign('searchcrits', $searchcrits); | 76 | $this->tpl->assign('searchcrits', $searchcrits); |
77 | $this->tpl->assign('source', index_url($_SERVER)); | 77 | $this->tpl->assign('source', index_url($_SERVER)); |
78 | $this->tpl->assign('version', shaarli_version); | 78 | $this->tpl->assign('version', SHAARLI_VERSION); |
79 | $this->tpl->assign( | 79 | $this->tpl->assign( |
80 | 'version_hash', | 80 | 'version_hash', |
81 | ApplicationUtils::getVersionHash(SHAARLI_VERSION, $this->conf->get('credentials.salt')) | 81 | ApplicationUtils::getVersionHash(SHAARLI_VERSION, $this->conf->get('credentials.salt')) |