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/Catalog/etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/code/Cnc/Catalog/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_catalog_m2
 * <[email protected]>
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="Cnc\Catalog\Api\GetProductQtyInterface" type="Cnc\Catalog\Model\GetProductQty" />
    <preference for="Cnc\Catalog\Api\IsSalableInterface" type="Cnc\Catalog\Model\IsSalable" />

    <type name="Cnc\Theme\Block\Html\Topmenu">
        <plugin name="cnc-catalog-block-html-top-menu" type="Cnc\Catalog\Plugin\Block\Html\Topmenu"/>
    </type>
    <type name="Magento\Theme\Block\Html\Topmenu">
        <!-- Disable completely native plugin to prevent any performance issues -->
        <plugin name="catalogTopmenu" disabled="true"/>
    </type>
    <type name="Magento\Catalog\Ui\DataProvider\Product\ProductRenderCollectorComposite">
        <arguments>
            <argument name="productProviders" xsi:type="array">
                <item name="stock" xsi:type="object">\Cnc\Catalog\Ui\DataProvider\Product\Listing\Collector\Stock</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Framework\Console\CommandListInterface">
        <arguments>
            <argument name="commands" xsi:type="array">
                <item name="cnc_catalog_create_products" xsi:type="object">Cnc\Catalog\Console\CreateProducts</item>
                <item name="cnc_catalog_populate_serial" xsi:type="object">Cnc\Catalog\Console\PopulateUseSerial</item>
                <item name="cnc_catalog_import_images" xsi:type="object">Cnc\Catalog\Console\ImportImages</item>
                <item name="cnc_catalog_import_stocks" xsi:type="object">Cnc\Catalog\Console\ImportProductStock</item>
                <item name="cnc_catalog_remove_links_from_products" xsi:type="object">
                    Cnc\Catalog\Console\RemoveLinksFromProducts
                </item>
                <item name="cnc_catalog_remove_links_from_categories" xsi:type="object">
                    Cnc\Catalog\Console\RemoveLinksFromCategories
                </item>
                <item name="cnc_catalog_rebuild_category_url_key" xsi:type="object">
                    Cnc\Catalog\Console\RebuildCategoryUrlKey
                </item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Catalog\Ui\DataProvider\CatalogEavValidationRules">
        <plugin name="cnc_custom_validation_for_net_weight" type="Cnc\Catalog\Plugin\Ui\DataProvider\CatalogEavValidationRulesPlugin"/>
    </type>
    <type name="Cnc\Catalog\Model\Product\Warranty">
        <arguments>
            <argument name="serializer" xsi:type="object">Magento\Framework\Serialize\Serializer\Json</argument>
        </arguments>
    </type>

    <type name="Magento\GroupedProduct\Model\Product\Type\Grouped">
        <plugin sortOrder="1" name="cnc-grouped-additional-attributes-plugin"
                type="Cnc\Catalog\Plugin\Model\Product\Type\GroupedPlugin"/>
    </type>
    <type name="Magento\Framework\File\Uploader">
        <plugin name="cnc_catalog_uploader"
                type="Cnc\Catalog\Plugin\UploaderPlugin"
                sortOrder="10"/>
    </type>
    <virtualType name="Magento\Catalog\CategoryImageUpload" type="Magento\Catalog\Model\ImageUploader">
        <arguments>
            <argument name="baseTmpPath" xsi:type="string">catalog/tmp/category</argument>
            <argument name="basePath" xsi:type="string">catalog/category</argument>
            <argument name="allowedExtensions" xsi:type="array">
                <item name="jpg" xsi:type="string">jpg</item>
                <item name="jpeg" xsi:type="string">jpeg</item>
                <item name="gif" xsi:type="string">gif</item>
                <item name="png" xsi:type="string">png</item>
                <item name="webp" xsi:type="string">webp</item>
            </argument>
            <argument name="allowedMimeTypes" xsi:type="array">
                <item name="jpg" xsi:type="string">image/jpg</item>
                <item name="jpeg" xsi:type="string">image/jpeg</item>
                <item name="gif" xsi:type="string">image/gif</item>
                <item name="png" xsi:type="string">image/png</item>
                <item name="webp" xsi:type="string">image/webp</item>
            </argument>
        </arguments>
    </virtualType>
    <type name="Wyomind\MsiCustomAttributes\Helper\CustomAttribute">
        <plugin name="cnc_catalog_wyomind_msicustomattributes_helper_custom_attribute_plugin"
                type="Cnc\Catalog\Plugin\Wyomind\MsiCustomAttributes\Helper\CustomAttributePlugin"
                sortOrder="10"/>
    </type>
    <type name="Ecombricks\InventoryCatalog\Block\Product\View\Estimate">
        <plugin name="cnc_catalog_block_product_view_estimate" type="Cnc\Catalog\Plugin\Block\Product\View\Estimate"/>
    </type>
    <type name="Ecombricks\InventoryCatalog\Api\Product\SourceQuoteManagementInterface">
        <plugin name="cnc_catalog_model_product_source_quote_management" type="Cnc\Catalog\Plugin\Model\Product\SourceQuoteManagement"/>
    </type>
</config>

Spamworldpro Mini