mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 21:57:34 +02:00
Issue #2003 Remove old files.
This commit is contained in:
@@ -494,6 +494,12 @@ else
|
||||
foreach ($search_prefs['comments_handlers'] as $key => $value)
|
||||
{
|
||||
$path = ($value['dir'] == 'core') ? e_HANDLER.'search/comments_'.$key.'.php' : e_PLUGIN.$value['dir'].'/search/search_comments.php';
|
||||
|
||||
if($value['dir'] == 'download' && !e107::isInstalled($value['dir']))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if(is_readable($path))
|
||||
{
|
||||
require_once($path);
|
||||
|
Reference in New Issue
Block a user