Welcome Guest, Not a member yet? Register   Sign In
Problem naming a controller "Directory"
#1

[eluser]Unknown[/eluser]
I would like to have a controller named Directory but doing so gives a "cannot redeclare class" fatal error. This seems odd as the user guide specifies the controller names which will conflict and "directory" is not one of them.

Further, there doesn't seem to be another directory class in CI - just a few $directory properties floating around. Anyone know what the problem is?

I suppose I could work around by routing requests to /directory/... to /mydirectory/... or something similar but it seems unnecessary.


Messages In This Thread
Problem naming a controller "Directory" - by El Forum - 09-14-2007, 04:34 AM
Problem naming a controller "Directory" - by El Forum - 09-14-2007, 05:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB