stupid caching bug removing mod controls
This commit is contained in:
parent
0794f9c53b
commit
8b61b440e7
@ -1257,7 +1257,7 @@
|
|||||||
'return' => ($mod ? '?' . $board['url'] . $config['file_index'] : $config['root'] . $board['uri'] . '/' . $config['file_index'])
|
'return' => ($mod ? '?' . $board['url'] . $config['file_index'] : $config['root'] . $board['uri'] . '/' . $config['file_index'])
|
||||||
));
|
));
|
||||||
|
|
||||||
if($config['memcached']['cache_threads'] && $config['memcached']['enabled']) {
|
if($config['memcached']['cache_threads'] && $config['memcached']['enabled'] && $mod) {
|
||||||
$memcached->set('thread_' . $board['uri'] . '_' . $id, $body, time() + $config['memcached']['timeout']);
|
$memcached->set('thread_' . $board['uri'] . '_' . $id, $body, time() + $config['memcached']['timeout']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user