1
0
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:
Cameron
2016-11-08 11:04:12 -08:00
parent 9eba6b5a23
commit 593533298b
3 changed files with 6 additions and 109 deletions

View File

@@ -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);