Guest User

Untitled

a guest
Apr 25th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <?php defined('SYSPATH') or die('No direct script access.');
  2.  
  3. // application/config/routes.php
  4.  
  5. /**
  6. * Permitted URI characters. Note that "?", "#", and "=" are URL characters, and
  7. * should not be added here.
  8. */
  9. $config['_allowed'] = '';
  10.  
  11. /**
  12. * Default route to use when no URI segments are available.
  13. */
  14. $config['_default'] = 'forum/topics';
  15.  
  16. /**
  17. * Rewrite reply URLs to the post controller.
  18. */
  19. $config['forum/reply/topic/(\d+)'] = 'forum/post/index/$1';
Add Comment
Please, Sign In to add comment