mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
ACM garbage collection
git-svn-id: file:///svn/phpbb/trunk@4685 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -250,12 +250,12 @@ else
|
||||
unset($cached_config);
|
||||
}
|
||||
|
||||
/*
|
||||
if (time() - $config['cache_interval'] >= $config['cache_last_gc'])
|
||||
// Tidy the cache
|
||||
if (method_exists($cache, 'tidy') && time() - $config['cache_gc'] > $config['cache_last_gc'])
|
||||
{
|
||||
$cache->tidy($config['cache_gc']);
|
||||
$cache->tidy();
|
||||
set_config('cache_last_gc', time(), TRUE);
|
||||
}
|
||||
*/
|
||||
|
||||
// Adjust storage path's
|
||||
$config['upload_dir'] = ($config['upload_dir']{0} == '/' || ($config['upload_dir']{0} != '/' && $config['upload_dir']{1} == ':')) ? $config['upload_dir'] : $phpbb_root_path . $config['upload_dir'];
|
||||
|
Reference in New Issue
Block a user