|
|
@ -1693,7 +1693,7 @@ function buildIndex($global_api = "yes") { |
|
|
|
// Tries to avoid rebuilding if the body is the same as the one in cache. |
|
|
|
if ($config['cache']['enabled']) { |
|
|
|
$contentHash = md5(json_encode($content['body'])); |
|
|
|
$contentHashKey = '_index_hashed_'. $board . '_' . $page; |
|
|
|
$contentHashKey = '_index_hashed_'. $board['uri'] . '_' . $page; |
|
|
|
$cachedHash = cache::get($contentHashKey); |
|
|
|
if ($cachedHash == $contentHash){ |
|
|
|
if ($config['api']['enabled']) { |
|
|
|