Welcome Guest, Not a member yet? Register   Sign In
[New] CodeIgniter + Shared Folder
#1

[eluser]Glazz[/eluser]
Hi =)

I was starting a new project in CodeIgniter and was in the need to use multiple application but one config directory,
off course CodeIgniter doesn't support this out of the box, so i started thinking on what i should do to achieve this, and i came up with a solution,
that works very good to me, and maybe work for you aswell.

Since i changed "lot" of code i will post a zip file containing a raw CodeIgniter project, i will include CodeIgniter 2.1.0 in this zip file.


With this you can have a shared folder, you can change the location of this folder and you can have:
- Global and individual application configuration
- Shared libraries, models and helpers that you can share on all your applications within that CodeIgniter installtion without the need to copy/paste
them all the time when you make changes.


Here is the zip file i talked about with all the structure and ready to use applications =)
http://dl.dropbox.com/u/19002464/Shared_..._2.1.0.rar


Both admin and site are application folders.

You access them http://localhost/admin/ or http://localhost/site/


Any suggestions, problems you may find please let me know so i can have a better system to myself too =)

Hope you like it =)


Messages In This Thread
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 04:02 AM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 04:17 AM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 04:21 AM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 05:48 AM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 08:02 AM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 08:06 AM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 08:59 AM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 03:04 PM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 03:13 PM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 07:48 PM
[New] CodeIgniter + Shared Folder - by El Forum - 03-06-2012, 11:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB