Allow :alpha in routes for CodeIgniter 2.0.1 Reactor.

/ Published in: PHP
Save to your folder(s)

Just save this as MY_Router.php and upload to application/core/ and now you'll be able to use us :alpha along with :num and :any in your routes to signify that you just want to match a-z.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.