lib/Pico.php
public function isUrlRewritingEnabled()
    {
        $urlRewritingEnabled = $this->getConfig('rewrite_url');
        if ($urlRewritingEnabled !== null) {
            return $urlRewritingEnabled;
        }

        if (isset($_SERVER['PICO_URL_REWRITING'])) {
            $this->config['rewrite_url'] = (bool) $_SERVER['PICO_URL_REWRITING'];
        } elseif (isset($_SERVER['REDIRECT_PICO_URL_REWRITING'])) {
            $this->config['rewrite_url'] = (bool) $_SERVER['REDIRECT_PICO_URL_REWRITING'];
        } else {
            $this->config['rewrite_url'] = false;
        }

        return $this->config['rewrite_url'];
    }
public function isUrlRewritingEnabled()
    {
        $urlRewritingEnabled = $this->getConfig('rewrite_url');
        if ($urlRewritingEnabled !== null) {
            return $urlRewritingEnabled;
        }

        if (isset($_SERVER['PICO_URL_REWRITING'])) {
            $this->config['rewrite_url'] = (bool) $_SERVER['PICO_URL_REWRITING'];
        } elseif (isset($_SERVER['REDIRECT_PICO_URL_REWRITING'])) {
            $this->config['rewrite_url'] = (bool) $_SERVER['REDIRECT_PICO_URL_REWRITING'];
        } else {
            $this->config['rewrite_url'] = false;
        }

        return $this->config['rewrite_url'];
    }
public function isUrlRewritingEnabled ( ) { $ urlRewritingEnabled = $ this -> getConfig ( 'rewrite_url' ) ; if ( $ urlRewritingEnabled !== null ) { return $ urlRewritingEnabled ; } if ( isset ( $ _SERVER [ 'PICO_URL_REWRITING' ] ) ) { $ this -> config [ 'rewrite_url' ] = ( bool ) $ _SERVER [ 'PICO_URL_REWRITING' ] ; } elseif ( isset ( $ _SERVER [ 'REDIRECT_PICO_URL_REWRITING' ] ) ) { $ this -> config [ 'rewrite_url' ] = ( bool ) $ _SERVER [ 'REDIRECT_PICO_URL_REWRITING' ] ; } else { $ this -> config [ 'rewrite_url' ] = false ; } return $ this -> config [ 'rewrite_url' ] ; }
Returns TRUE if URL rewriting is enabled

@return bool TRUE if URL rewriting is enabled, FALSE otherwise
Returns TRUE if URL rewriting is enabled