magento2专题提供magento2的最新资讯内容,帮你更好的了解magento2。
di.xml 指定或重写Proxy <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <!-- for = 受影响的原始类或接口 --> <!
需要修改core代码,位置:vendor/magento/framework/View/Model/Layout/Merge.php: _loadFileLayoutUpdatesXml 添加file_put_contents代码行 foreach ($updateFiles as $file) { // ... file_put_contents(BP . '/var/log/l