technohawk - 2012-04-11

I want to use multiple ORS sites with a single user list. Students would navigate to a landing page which gives them simple links to choose the room they want to schedule for. Clicking on a link will bring them to site for the specific room. There they can schedule time on any of the lab PCs in that room.

I have the primary ORS install in \etc\apache2\lab2.

So far I have a secondary install in \etc\apache3\lab3. I've modified the defaults.php and functions.php in the install folder of the lab3 instance.

In defaults.php, I added the following line:

define ("user_root_dir", root_dir."../../lab2/data/"); //directory used so lab 2 and lab 3 share the same user list

…to create a user_root_dir variable.

I then modified the following functions in functions.php to use user_root_dir instead of root_dir: getusers(), putusers(), getuids(), putuids(), and assignusn().

Will there be any problems if I do this? I've set it up in a test environment and it seems to be working. I'm not sure if there will be long term problems, however.

Thanks.