public function loadConfig()
    {
        if (!$this->registry->isRedirect()) {
            $storeId = $this->sgCoreConfig->getStoreId($this->getShopNumber());
            $this->storeManager->setCurrentStore($storeId);
        }
        $this->loadArray($this->toArray());
        $this->setExportTmpAndLogSettings();
    }
public function loadConfig()
    {
        if (!$this->registry->isRedirect()) {
            $storeId = $this->sgCoreConfig->getStoreId($this->getShopNumber());
            $this->storeManager->setCurrentStore($storeId);
        }
        $this->loadArray($this->toArray());
        $this->setExportTmpAndLogSettings();
    }
public function loadConfig ( ) { if ( ! $ this -> registry -> isRedirect ( ) ) { $ storeId = $ this -> sgCoreConfig -> getStoreId ( $ this -> getShopNumber ( ) ) ; $ this -> storeManager -> setCurrentStore ( $ storeId ) ; } $ this -> loadArray ( $ this -> toArray ( ) ) ; $ this -> setExportTmpAndLogSettings ( ) ; }
Load general information and values.
Use shop number to determine store only when it is not a frontend call

@throws \Magento\Framework\Exception\FileSystemException
@throws \ReflectionException
Load general information and values . Use shop number to determine store only when it is not a frontend call