CodeIgniter Forums
help please : mutli sites sharing some config files? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: help please : mutli sites sharing some config files? (/showthread.php?tid=38152)



help please : mutli sites sharing some config files? - El Forum - 01-31-2011

[eluser]7amza[/eluser]
hey,
im working in a project ..the project structures is :

/system
app/application1
app/application2
app/application3
index.php
application2.php
application3.php
..
so all is fine , the only problem is that all applications share the same libraries and core extending files (im using CI2.0) and libraries extending files and the config folder and models .
so there is anyway to make all these files shared ?
please any workaround solution will be also fine because there is a month ago im searching for a solution .
sorry for my poor english


help please : mutli sites sharing some config files? - El Forum - 01-31-2011

[eluser]Sodavath[/eluser]
http://ellislab.com/codeigniter/user-guide/general/managing_apps.html

I think you are looking for №6 there
http://net.tutsplus.com/tutorials/php/6-codeigniter-hacks-for-the-masters/


help please : mutli sites sharing some config files? - El Forum - 01-31-2011

[eluser]tomcode[/eluser]
Just an idea, not tested, under CI 2 You should be able to set package paths which point to Your common stuff.