07-31-2008, 08:42 AM
[eluser]Bramme[/eluser]
Yes it's php5, but I tried that code of yours wiredesignz, but then it said it didn't find the file Admin_controller...
That thing Colin is on about looks pretty promising, but how do I pass $first_segment to the config file?
Edit: besides, there's some other construct magic that needs to happen for all admin controllers (some queries etc), so I think I'll stay with my current solution...
Yes it's php5, but I tried that code of yours wiredesignz, but then it said it didn't find the file Admin_controller...
That thing Colin is on about looks pretty promising, but how do I pass $first_segment to the config file?
Edit: besides, there's some other construct magic that needs to happen for all admin controllers (some queries etc), so I think I'll stay with my current solution...