public function createUrl( $route, $params = [ ], $absolute = FALSE )
    {
        $url = $this->script . '/' . $route;

        if ( file_exists( TEST_LOCK_FILE ) )
        {
            $url = $route;
        }

        if ( !empty( $params ) )
        {
            foreach ( $params as $value )
            {
                $url .= "/$value";
            }
        }

        if ( $absolute )
        {
            if ( !file_exists( TEST_LOCK_FILE ) )
            {
                $url = $this->scheme . '://' . $this->server . $url;
            }
            else
            {
                $url = BASE_URL . $url;
            }
        }

        return $url;
    }