2017-03-24 12 views
1

に、彼らはこのように少し見えているはなぜregistration.phpとアプリの/ etc/config.phpの共存Magento2でmagento2

アプリの/ etc/config.phpの

を導入しています。

<?php 
return array (
    'modules' => 
    array (
    'Magento_Store' => 1, 
    'Magento_Contacts' => 1, 
    'Namespace_Modulename' => 1 
), 
); 

すべてのモジュールが存在します。 We can enable or disable the module using 1/0 over there。それはMagentoにもmodule it should go through in each requestと伝えます。 Magentoがすでにどのモジュールを通過しているかを知っていて、registration.phpファイルがapp/code/namespace/modulenameの内部にあるという目的が何であるかわからない場合。

答えて

0

Registration.php Magentoの2

にモジュール名を紹介する私たちは、Magentoの中でのconfig.php(アプリは/ etc/config.phpの)によって2

を有効または無効にすることができますモジュール
関連する問題