source/Core/UtilsFile.php
public function checkFile($sFile)
    {
        $aCheckCache = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable("checkcache");

        if (isset($aCheckCache[$sFile])) {
            return $aCheckCache[$sFile];
        }

        $blRet = true;
        if (!is_readable($sFile)) {
            $blRet = $this->urlValidate($sFile);
        }

        $aCheckCache[$sFile] = $blRet;
        \OxidEsales\Eshop\Core\Registry::getSession()->setVariable("checkcache", $aCheckCache);

        return $blRet;
    }
public function checkFile($sFile)
    {
        $aCheckCache = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable("checkcache");

        if (isset($aCheckCache[$sFile])) {
            return $aCheckCache[$sFile];
        }

        $blRet = true;
        if (!is_readable($sFile)) {
            $blRet = $this->urlValidate($sFile);
        }

        $aCheckCache[$sFile] = $blRet;
        \OxidEsales\Eshop\Core\Registry::getSession()->setVariable("checkcache", $aCheckCache);

        return $blRet;
    }
public function checkFile ( $ sFile ) { $ aCheckCache = \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( "checkcache" ) ; if ( isset ( $ aCheckCache [ $ sFile ] ) ) { return $ aCheckCache [ $ sFile ] ; } $ blRet = true ; if ( ! is_readable ( $ sFile ) ) { $ blRet = $ this -> urlValidate ( $ sFile ) ; } $ aCheckCache [ $ sFile ] = $ blRet ; \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> setVariable ( "checkcache" , $ aCheckCache ) ; return $ blRet ; }
Checks if passed file exists and may be opened for reading. Returns true
on success.

@param string $sFile Name of file to check

@return bool
Checks if passed file exists and may be opened for reading . Returns true on success .