Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/app/code/Cnc/SearchAutocomplete/etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/code/Cnc/SearchAutocomplete/etc/di.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright (c) 2019 Kaliop Digital Commerce (https://digitalcommerce.kaliop.com) All Rights Reserved.
 * https://opensource.org/licenses/OSL-3.0  Open Software License (OSL 3.0)
 * cnc_searchautocomplete_m2
 * <[email protected]>
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

<!--    DOES NOT EXISTS on new module version. We use INDEX below in ARGUMENT to adapt logic.
If works fine, remove this comment and related PHP class.-->


    <!--    <type name="Mirasvit\SearchAutocomplete\Api\Repository\IndexRepositoryInterface">-->
<!--        <arguments>-->
<!--            <argument name="instances" xsi:type="array">-->
<!--                <item name="magento_catalog_categoryproduct"-->
<!--                      xsi:type="object">Cnc\SearchAutocomplete\Index\Magento\Catalog\CategoryProduct-->
<!--                </item>-->
<!--            </argument>-->
<!--        </arguments>-->
<!--    </type>-->

    <type name="Mirasvit\SearchAutocomplete\Model\IndexProvider">
        <arguments>
            <argument name="providers" xsi:type="array">
                <item name="magento_catalog_category" xsi:type="string">Cnc\SearchAutocomplete\Index\Magento\Catalog\CategoryInstantProvider</item>
                <item name="catalogsearch_fulltext" xsi:type="string">Cnc\SearchAutocomplete\Index\Magento\Catalog\ProductInstantProvider</item>
            </argument>
        </arguments>
    </type>
    <type name="Mirasvit\Misspell\Service\QueryService">
        <plugin name="cnc_searchautocomplete_query_service"
                type="Cnc\SearchAutocomplete\Plugin\Service\QueryServiceFallbackPlugin" sortOrder="10"/>
    </type>
</config>

Spamworldpro Mini