Welcome Guest, Not a member yet? Register   Sign In
How to remove "main" from current_url()?
#3

[eluser]Madmartigan1[/eluser]
Radiart, are you simply trying to manipulate the url string or the url itself?

current_url() basically just returns the current url, as you would expect. Nothing more.

Code:
function current_url()
    {
        $CI =& get_instance();
        return $CI->config->site_url($CI->uri->uri_string());
    }


Messages In This Thread
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 09:29 AM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 09:40 AM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 11:13 AM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 04:01 PM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 04:05 PM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 04:15 PM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 04:19 PM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 04:31 PM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 04:42 PM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 05:04 PM
How to remove "main" from current_url()? - by El Forum - 12-29-2010, 05:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB