Welcome Guest, Not a member yet? Register   Sign In
help!how to use 'redirect' to retrun a url like 'listview/index/' not "listview/index"
#1

[eluser]Unknown[/eluser]
Code:
function update(){
        $this->get_result->doupdate();
        //echo "sucess";
        redirect('listview/index/');
    }


it returns a url "index.php/listview/index"
But, that I want is "index.php/listview/index/"

I am so sorry my English is very poor!!
Have you known my doctrine's?
thank you
#2

[eluser]Phil Sturgeon[/eluser]
You could try in the config settings changing:

Code:
$config['url_suffix'] = '/';




Theme © iAndrew 2016 - Forum software by © MyBB