@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | // initialize the default loader and load the DI configuration for the this library |
32 | 32 | $defaultLoader = new XmlFileLoader($container, new FileLocator($vendorDir)); |
33 | -$defaultLoader->load(__DIR__ . '/symfony/Resources/config/services.xml'); |
|
33 | +$defaultLoader->load(__DIR__.'/symfony/Resources/config/services.xml'); |
|
34 | 34 | |
35 | 35 | // initialize and run the application |
36 | 36 | $statusCode = $container->get(DependencyInjectionKeys::APPLICATION)->run($container->get(DependencyInjectionKeys::INPUT)); |
@@ -56,11 +56,11 @@ |
||
56 | 56 | $connection = $setup->getConnection(); |
57 | 57 | |
58 | 58 | // add indices necessary to optimize the importer performance |
59 | - $connection->addIndex('url_rewrite', $setup->getIdxName('url_rewrite', ['entity_id']), ['entity_id']); |
|
60 | - $connection->addIndex('url_rewrite', $setup->getIdxName('url_rewrite', ['entity_id', 'entity_type']), ['entity_id', 'entity_type']); |
|
61 | - $connection->addIndex('catalog_product_entity_varchar', $setup->getIdxName('catalog_product_entity_varchar', ['value']), ['value']); |
|
62 | - $connection->addIndex('eav_attribute_option_value', $setup->getIdxName('eav_attribute_option_value', ['value']), ['value']); |
|
63 | - $connection->addIndex('catalog_product_entity_media_gallery', $setup->getIdxName('catalog_product_entity_media_gallery', ['value']), ['value']); |
|
59 | + $connection->addIndex('url_rewrite', $setup->getIdxName('url_rewrite', [ 'entity_id' ]), [ 'entity_id' ]); |
|
60 | + $connection->addIndex('url_rewrite', $setup->getIdxName('url_rewrite', [ 'entity_id', 'entity_type' ]), [ 'entity_id', 'entity_type' ]); |
|
61 | + $connection->addIndex('catalog_product_entity_varchar', $setup->getIdxName('catalog_product_entity_varchar', [ 'value' ]), [ 'value' ]); |
|
62 | + $connection->addIndex('eav_attribute_option_value', $setup->getIdxName('eav_attribute_option_value', [ 'value' ]), [ 'value' ]); |
|
63 | + $connection->addIndex('catalog_product_entity_media_gallery', $setup->getIdxName('catalog_product_entity_media_gallery', [ 'value' ]), [ 'value' ]); |
|
64 | 64 | |
65 | 65 | // finish setup |
66 | 66 | $setup->endSetup(); |