Welcome Guest, Not a member yet? Register   Sign In
uri_string() leading slash

Is $this->uri->uri_string() supposed to have a leading slash? According to the user guide it should, but in my case it suddenly doesn't anymore.

EDIT: Looks like this might be the problem: https://github.com/EllisLab/CodeIgniter/issues/779 Still don't know how to fix it though.

I thought this issue was back in CI version 2.2.0 but I noticed that it is not uri_string() but in ruri_string(). And the code explicitly adds the leading slash in ruri_string().
So in that sense the documentation is not completely correct saying that ruri_string() is equal to uri_string().

Theme © iAndrew 2016 - Forum software by © MyBB