1
0
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:
Cameron
2020-11-28 12:44:00 -08:00
parent faed5e5d46
commit 5f43f5159c
3 changed files with 17 additions and 1 deletions

View File

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