• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
redirect() leaves off trailing slash - affecting cache / delete of cache file.

#1
[eluser]internut[/eluser]
I'm using the cache feature within an admin area.

If data is updated I remove the cache file so the new data is presented.

The redirect code even if i have a trailing slash in it never is present on the redirect:

Code:
redirect('/admin/forms/manage/' . $form_id . '/');

returns to:

/index.php?/admin/forms/manage/176

and not:

/index.php?/admin/forms/manage/176/

Thoughts?

J


Messages In This Thread
redirect() leaves off trailing slash - affecting cache / delete of cache file. - by El Forum - 07-08-2011, 09:27 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.