[split] URI routing in 3.1.1 |
I found two bugs in URI Routing in version 3.1.1, in version 3.1.0 was no such!
First. If named function same name controller. Example: class Bug extends CI_Controller { function bug() { exit(1); } } Link http://site/bug/bug does not work! Second. If add to existing function any URI segment in URL without routes.php not shown error 404. Example: http://site/bug/bug/dawdad http://site/bug/bug/3123 http://site/bug/bug/dawdad/3123/dad/3123/...
I don't think it's a bug. You need to take a look at how to name the methods... What you did there was to create a class constructor in the old fashion way... So I guess it is normal that it didn't work.
Website: http://avenir.ro
(10-27-2016, 05:41 AM)Avenirer Wrote: I don't think it's a bug. You need to take a look at how to name the methods... What you did there was to create a class constructor in the old fashion way... So I guess it is normal that it didn't work. http://www.codeigniter.com/docs/index/wh...rong/logic - it is right? (10-27-2016, 06:17 AM)Epexa Wrote:(10-27-2016, 05:41 AM)Avenirer Wrote: I don't think it's a bug. You need to take a look at how to name the methods... What you did there was to create a class constructor in the old fashion way... So I guess it is normal that it didn't work. I don't understand your reply... Website: http://avenir.ro
|
Welcome Guest, Not a member yet? Register Sign In |