Skip to content

Instantly share code, notes, and snippets.

anilbajracharya

Block or report user

Report or block anilbajracharya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@anilbajracharya
anilbajracharya / duplicate product image issue magento 2 .php
Last active Jun 25, 2018
duplicate product image issue magento 2
View duplicate product image issue magento 2 .php
<?php
require '../app/bootstrap.php';
$params = $_SERVER;
$bootstrap = Bootstrap::create(BP, $params);
$obj = $bootstrap->getObjectManager();
$state = $obj->get('Magento\Framework\App\State');
$state->setAreaCode('frontend');
You can’t perform that action at this time.