Skip to content

Commit

Permalink
Fix Joomla check
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Sep 14, 2020
1 parent 90005c9 commit 4e1c902
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -173,7 +173,7 @@ private function fetchSchemaCache($cid = 0)
}
}
// Specific bodge for the Joomla CMS special database check which points to com_admin
elseif ($result->type === 'file' && $result->name === 'files_joomla')
elseif ($result->type === 'file' && $result->element === 'com_admin')
{
$basePath = JPATH_ADMINISTRATOR . '/components/' . $result->element;
}
Expand Down

0 comments on commit 4e1c902

Please sign in to comment.