Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

public function render () { if ($this->getIsOrderStep()) { $myCo..

Decoded Output download

<?      public function render () { 
        if ($this->getIsOrderStep()) { 
            $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig(); 
            $session = \OxidEsales\Eshop\Core\Registry::getSession(); 
            $oBasket = $session->getBasket(); 
 
            $oUser = $this->getUser(); 
            if (!$oUser && ($oBasket && $oBasket->hasMissingUploads())) { 
                Registry::getUtils()->redirect($myConfig->getShopHomeUrl() . 'cl=basket', false, 302); 
            } elseif (!$oBasket || !$oUser || ($oBasket && $oBasket->hasMissingUploads())) { 
                Registry::getUtils()->redirect($myConfig->getShopHomeUrl() . 'cl=start', false, 302); 
            } 
        } 
        return parent::render(); 
    } ?>

Did this file decode correctly?

Original Code

    public function render () {
        if ($this->getIsOrderStep()) {
            $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
            $session = \OxidEsales\Eshop\Core\Registry::getSession();
            $oBasket = $session->getBasket();

            $oUser = $this->getUser();
            if (!$oUser && ($oBasket && $oBasket->hasMissingUploads())) {
                Registry::getUtils()->redirect($myConfig->getShopHomeUrl() . 'cl=basket', false, 302);
            } elseif (!$oBasket || !$oUser || ($oBasket && $oBasket->hasMissingUploads())) {
                Registry::getUtils()->redirect($myConfig->getShopHomeUrl() . 'cl=start', false, 302);
            }
        }
        return parent::render();
    }

Function Calls

None

Variables

None

Stats

MD5 8e14c08d79a5e0b270cc80af8cd0b4f9
Eval Count 0
Decode Time 55 ms