mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 06:03:27 +02:00
Fixes #2003 LAN_PLUGIN_PAGE_NAME and LAN_PLUGIN_DOWNLOAD_NAME were displayed on admin search page after clean install.
This commit is contained in:
@@ -493,7 +493,7 @@ else
|
||||
{
|
||||
$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']))
|
||||
if(($value['dir'] == 'download' || $key == 'download') && !e107::isInstalled('download'))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user