Skip to content
Snippets Groups Projects
Commit 8d3d7569 authored by Anika Henke's avatar Anika Henke
Browse files

use DOKU_SCRIPT instead of stray doku.php in checkUpdateMessages() (FS#2364)

parent 410bfddd
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ function checkUpdateMessages(){
$lm = @filemtime($cf);
// check if new messages needs to be fetched
if($lm < time()-(60*60*24) || $lm < @filemtime(DOKU_INC.'doku.php')){
if($lm < time()-(60*60*24) || $lm < @filemtime(DOKU_INC.DOKU_SCRIPT)){
$http = new DokuHTTPClient();
$http->timeout = 8;
$data = $http->get(DOKU_MESSAGEURL.$updateVersion);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment