Welcome Guest, Not a member yet? Register   Sign In
Extending a controller while in a sub-folder.
#1

[eluser]internut[/eluser]
Hey All,

I have an /admin/ folder in /controllers/:

/controllers/admin/

I'm trying to extend it by using in the welcome controller:

/controllers/admin/welcome.php

class Welcome extends Admin_Controller {

Admin_Controller.php is in:

/libraries/AdminController.php

Its not using it though?

If I put the controller in the main:

/controllers/

folder it works fine.

I've done things based off of:

http://philsturgeon.co.uk/news/2010/02/C...ing-it-DRY

Any thoughts?

Jason


Messages In This Thread
Extending a controller while in a sub-folder. - by El Forum - 12-14-2010, 07:15 PM
Extending a controller while in a sub-folder. - by El Forum - 12-14-2010, 11:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB