Welcome Guest, Not a member yet? Register   Sign In
CI Application with multiple roots
#2

[eluser]yacman[/eluser]
You can use CI's Routes to route requests to your controllers however you want.

or you could have:
/controllers/news.php
/controllers/politics.php
/controllers/sports.php
/controllers/weather.php

/models/news_model.php
/models/politics_model.php
/models/sports_model.php
/models/weather_model.php

Or you could have a single controller:

/controllers/home.php
with functions, news, politics, sports, weather.





Messages In This Thread
CI Application with multiple roots - by El Forum - 09-13-2012, 07:50 AM
CI Application with multiple roots - by El Forum - 09-13-2012, 09:02 AM
CI Application with multiple roots - by El Forum - 09-13-2012, 09:47 AM
CI Application with multiple roots - by El Forum - 09-13-2012, 09:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB