src/Service/Config/Security.php
protected function evalDestination($value, $name)
    {
        $result = ($value === static::VALUE_BROWSER || $value === 'file');
        if ($result === false) {
            $this->pool->messages->addMessage(static::KEY_CONFIG_ERROR . ucfirst($name));
        }

        return $result;
    }
protected function evalDestination($value, $name)
    {
        $result = ($value === static::VALUE_BROWSER || $value === 'file');
        if ($result === false) {
            $this->pool->messages->addMessage(static::KEY_CONFIG_ERROR . ucfirst($name));
        }

        return $result;
    }
protected function evalDestination ( $ value , $ name ) { $ result = ( $ value === static :: VALUE_BROWSER || $ value === 'file' ) ; if ( $ result === false ) { $ this -> pool -> messages -> addMessage ( static :: KEY_CONFIG_ERROR . ucfirst ( $ name ) ) ; } return $ result ; }
We are expecting 'browser' or 'file'.

@param string $value
The value we want to evaluate
@param string $name
The name of the value we are checking, needed for the feedback text.

@return boolean
Whether it does evaluate or not.
We are expecting browser or file .