Skip to content

Commit

Permalink
indexer fix updating the search index
Browse files Browse the repository at this point in the history
  • Loading branch information
akate committed Apr 7, 2011
1 parent ee1214a commit 6a9d979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/indexer.php
Expand Up @@ -1146,7 +1146,7 @@ function idx_addPage($page, $verbose=false) {
if(@file_exists($idxtag)){
if(trim(io_readFile($idxtag)) == idx_get_version()){
$last = @filemtime($idxtag);
if($last > @filemtime(wikiFN($ID))){
if($last > @filemtime(wikiFN($page))){
if ($verbose) print("Indexer: index for $page up to date".DOKU_LF);
return false;
}
Expand Down

0 comments on commit 6a9d979

Please sign in to comment.