32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-12-25 01:45:59 +00:00

Replace require_once call with Autoloader (#404)

Allows the usage of a custom IndexerAdapter class using a JLoader override
This commit is contained in:
David Jardin 2019-08-14 00:46:59 +02:00 committed by George Wilson
parent 44b1683d18
commit 20b335d918

View File

@ -12,7 +12,7 @@ defined('JPATH_BASE') or die;
use Joomla\Registry\Registry;
// Load the base adapter.
require_once JPATH_ADMINISTRATOR . '/components/com_finder/helpers/indexer/adapter.php';
JLoader::register('FinderIndexerAdapter', JPATH_ADMINISTRATOR . '/components/com_finder/helpers/indexer/adapter.php');
/**
* Smart Search adapter for Joomla Web Links.