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
bc62e1e6f3
commit
32f7d85f51
@ -15,7 +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(array('sqlite', 'filecache'), $cache_val))
|
if (!in_array('sqlite', $cache_val) && !in_array('filecache', $cache_val))
|
||||||
{
|
{
|
||||||
CACHE($cache_name)->rm();
|
CACHE($cache_name)->rm();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user