[phplib-users] proper way to run several instances of a phplib-app
Brought to you by:
nhruby,
richardarcher
From: Marko K. <mk...@mc...> - 2006-10-05 14:57:37
|
Hi folks, pretty quiet on this list. :) But perhaps it is simply because phplib simply works. I met with my application a new requirement recently. I essentially want to run the same application with different local.inc's. This makes sure that every instance has its own session handling and user management, so that both instances do not see and touch each other's databases. Up to now I simply duplicate the whole app directory, modify the local.inc and point the browser to that source directory. Anybody knows a cleverer way to implement this without the need to copy the whole source directory each time I set up a new instance? I thought about am additional cookie (or get parameter as fall-back) or so, which does the selection of the corresponding database-set specifiable in various local.inc's... But I have no idea how to implement that properly... Any hint for me from the community? Marko |