public function url($uri, $secure = null)
    {
        // If path is full, so we just return.
        if (preg_match('#^http|//:#', $uri))
        {
            return $uri;
        }

        $path = $this->getCurrentPath().$uri;

        if(substr($path, 0, 6)=='public') $path = substr($path, 7);

        return $this->configAssetUrl($path, $secure);
    }