Welcome Guest, Not a member yet? Register   Sign In
Splitting CI into two different apps
#6

[eluser]xerobytez[/eluser]
There are several ways to go about this but since your admin panel and frontend share resources I would simply create 2 directories in /application/controllers/. One for the admin and one for the frontend. Then use .htaccess to route everything where it needs to go.

The other option would be to create 2 different application directories and 2 different index.php bootstraps pointing to their respective application directory. The plus side is both applications could run off of the same core but you would either have to have 2 copies of the shared files in each application directory or place them in the /system/helpers and /system/libraries directories where they can be access by both applications.

Good luck with the project


Messages In This Thread
Splitting CI into two different apps - by El Forum - 01-19-2013, 11:04 AM
Splitting CI into two different apps - by El Forum - 01-21-2013, 07:15 PM
Splitting CI into two different apps - by El Forum - 01-21-2013, 08:38 PM
Splitting CI into two different apps - by El Forum - 01-23-2013, 12:55 PM
Splitting CI into two different apps - by El Forum - 01-23-2013, 12:59 PM
Splitting CI into two different apps - by El Forum - 01-23-2013, 06:56 PM
Splitting CI into two different apps - by El Forum - 01-28-2013, 02:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB