mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update manage_admin.php
This commit is contained in:
parent
df5ed816bf
commit
8d247815f7
@ -15,10 +15,7 @@ switch ($mode)
|
|||||||
|
|
||||||
foreach ($bb_cfg['cache']['engines'] as $cache_name => $cache_val)
|
foreach ($bb_cfg['cache']['engines'] as $cache_name => $cache_val)
|
||||||
{
|
{
|
||||||
if (!in_array('sqlite', $cache_val) && !in_array('filecache', $cache_val))
|
CACHE($cache_name)->rm();
|
||||||
{
|
|
||||||
CACHE($cache_name)->rm();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->response['cache_html'] = '<span class="seed bold">'. $lang['ALL_CACHE_CLEARED'] .'</span>';
|
$this->response['cache_html'] = '<span class="seed bold">'. $lang['ALL_CACHE_CLEARED'] .'</span>';
|
||||||
|
Loading…
Reference in New Issue
Block a user