File tree Expand file tree Collapse file tree 5 files changed +7
-13
lines changed
CatalogUrlRewrite/etc/setup Expand file tree Collapse file tree 5 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 5
5
* See COPYING.txt for license details.
6
6
*/
7
7
-->
8
- <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../lib/internal/Magento/Framework/ Event/etc/events.xsd" >
8
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework: Event/etc/events.xsd" >
9
9
<event name =" catalog_product_save_after" >
10
10
<observer name =" process_url_rewrite_saving" instance =" \Magento\CatalogUrlRewrite\Observer\ProductProcessUrlRewriteSavingObserver" method =" execute" />
11
11
</event >
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- \Magento \Framework \Console \CommandLocator::register ('Magento\SampleData\Console\CommandList ' );
7
+ if (PHP_SAPI == 'cli ' ) {
8
+ \Magento \Framework \Console \CommandLocator::register ('Magento\SampleData\Console\CommandList ' );
9
+ }
Original file line number Diff line number Diff line change 14
14
" OSL-3.0" ,
15
15
" AFL-3.0"
16
16
],
17
- "extra" : {
18
- "map" : [
19
- [
20
- " *" ,
21
- " Magento/SampleData"
22
- ]
23
- ]
24
- },
25
17
"autoload" : {
26
18
"files" : [
27
19
" cli_commands.php" ,
Original file line number Diff line number Diff line change 5
5
* See COPYING.txt for license details.
6
6
*/
7
7
-->
8
- <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../lib/internal/Magento/Framework/ Module/etc/module.xsd" >
8
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework: Module/etc/module.xsd" >
9
9
<module name =" Magento_SampleData" setup_version =" 2.0.0" >
10
10
</module >
11
11
</config >
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
\Magento \Framework \Component \ComponentRegistrar::register (
8
- \Magento \Framework \Component \ComponentRegistrar::MODULE ,
9
- 'Magento_SampleData ' ,
8
+ \Magento \Framework \Component \ComponentRegistrar::MODULE ,
9
+ 'Magento_SampleData ' ,
10
10
__DIR__
11
11
);
You can’t perform that action at this time.
0 commit comments