Hot answers tagged

1

No need to create preference, we can use type create: app/code/Vendor/Extension/etc/di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="Magento\Paypal\Model\SmartButtonConfig"> <arguments&...


1

create di.xml file on following location app\code\Vendor\Extension\etc\frontend\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="\Magento\Paypal\Model\...


1

We can use cron to achieve this, first open a crontab using the below command. crontab -e Then, add the below content in your crontab, it will execute the below command when server reboot. @reboot sleep 60 && /usr/sbin/setsebool httpd_can_network_connect 1 sleep 60 is used to run the setsebool command after 60 seconds. You can adjust sleep time ...


Only top voted, non community-wiki answers of a minimum length are eligible