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

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:

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

returns to:


and not:




looks like config option:

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

will do the trick.

If I'm missing something would love to hear it.


damn that didn't work out well... messed up deleting cache files on updates. back to the drawing board.


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

has set me on the right path.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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