mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-25 17:51:07 +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:
parent
44b1683d18
commit
20b335d918
@ -12,7 +12,7 @@ defined('JPATH_BASE') or die;
|
|||||||
use Joomla\Registry\Registry;
|
use Joomla\Registry\Registry;
|
||||||
|
|
||||||
// Load the base adapter.
|
// 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.
|
* Smart Search adapter for Joomla Web Links.
|
||||||
|
Loading…
Reference in New Issue
Block a user