source/Core/UtilsServer.php
protected function _getCookiePath($sPath)
    {
        if ($aCookiePaths = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aCookiePaths')) {
            // in case user wants to have shop specific setup
            $sShopId = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId();
            $sPath = isset($aCookiePaths[$sShopId]) ? $aCookiePaths[$sShopId] : $sPath;
        }

        // from php doc: .. You may also replace an argument with an empty string ("") in order to skip that argument..
        return $sPath ? $sPath : "";
    }
protected function _getCookiePath($sPath)
    {
        if ($aCookiePaths = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aCookiePaths')) {
            // in case user wants to have shop specific setup
            $sShopId = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId();
            $sPath = isset($aCookiePaths[$sShopId]) ? $aCookiePaths[$sShopId] : $sPath;
        }

        // from php doc: .. You may also replace an argument with an empty string ("") in order to skip that argument..
        return $sPath ? $sPath : "";
    }
protected function _getCookiePath ( $ sPath ) { if ( $ aCookiePaths = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aCookiePaths' ) ) { // in case user wants to have shop specific setup $ sShopId = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getShopId ( ) ; $ sPath = isset ( $ aCookiePaths [ $ sShopId ] ) ? $ aCookiePaths [ $ sShopId ] : $ sPath ; } // from php doc: .. You may also replace an argument with an empty string ("") in order to skip that argument.. return $ sPath ? $ sPath : "" ; }
Returns cookie path. If user did not set path, or set it to null, according to php
documentation empty string will be returned, marking to skip argument. Additionally
path can be defined in config.inc.php file as "sCookiePath" param. Please check cookie
documentation for more details about current parameter

@param string $sPath user defined cookie path

@return string
Returns cookie path . If user did not set path or set it to null according to php documentation empty string will be returned marking to skip argument . Additionally path can be defined in config . inc . php file as sCookiePath param . Please check cookie documentation for more details about current parameter