Welcome Guest, Not a member yet? Register   Sign In
URI Routing for URLs with dashes (-)
#2

[eluser]ehicks727[/eluser]
Ok, I'm retarded. In the Controllers guide, I read that this default constructor works in PHP5, so I used it.

Code:
function __construct() {
        parent::Controller();    
    }

Then I noticed that routing stopped working completely. So I changed my default constructor to this again

Code:
function Business_directory() {
        parent::Controller();    
    }

and now everything works great. Why does this
Code:
__construct()
break routing??


Messages In This Thread
URI Routing for URLs with dashes (-) - by El Forum - 03-17-2008, 11:31 AM
URI Routing for URLs with dashes (-) - by El Forum - 03-17-2008, 05:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB