This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
urapidflow:v3:run_scheduled [2017/05/19 19:08] 127.0.0.1 external edit |
urapidflow:v3:run_scheduled [2018/11/14 19:43] wtsergo |
||
---|---|---|---|
Line 28: | Line 28: | ||
$om = $bootstrap-> | $om = $bootstrap-> | ||
$areaList = $om-> | $areaList = $om-> | ||
- | $areaCode = $areaList-> | + | $areaCode = 'adminhtml'; |
/** @var \Magento\Framework\App\State $state */ | /** @var \Magento\Framework\App\State $state */ | ||
$state = $om-> | $state = $om-> | ||
Line 34: | Line 34: | ||
/** @var \Magento\Framework\ObjectManager\ConfigLoaderInterface $configLoader */ | /** @var \Magento\Framework\ObjectManager\ConfigLoaderInterface $configLoader */ | ||
$configLoader = $om-> | $configLoader = $om-> | ||
- | $om-> | + | |
+ | $omCfgLoaded = $configLoader-> | ||
+ | if ($configLoader instanceof \Magento\Framework\App\ObjectManager\ConfigLoader\Compiled) { | ||
+ | $pfsDiVal = @$omCfgLoaded[' | ||
+ | $pfsDiVal = @unserialize($pfsDiVal); | ||
+ | if (!is_array($pfsDiVal)) { | ||
+ | $pfsDiVal = []; | ||
+ | } | ||
+ | $pfsDiVal[' | ||
+ | $omCfgLoaded[' | ||
+ | } else { | ||
+ | $omCfgLoaded[' | ||
+ | } | ||
+ | |||
+ | $om-> | ||
function rfEavExport(ObjectManagerInterface $om) | function rfEavExport(ObjectManagerInterface $om) |