Welcome Guest, Not a member yet? Register   Sign In
multiple databases, multiple css files
#6

[eluser]BrianDHall[/eluser]
[quote author="jared4444" date="1256366062"]thanks, but do I have to change every function to deal with that as the first parameter?

www.mysite.com/client1[/quote]

I would use routes to re-arrange things a bit. I believe you can do something like catch the first parameter and then remap it so as to remove it entirely, then you might be able to mung around in some global variables a bit and find how to access the original client number - this I would do in the controller or preferably my_controller. That way you could make the client setting invisible magic as far as your other controllers and functions go.


Messages In This Thread
multiple databases, multiple css files - by El Forum - 10-23-2009, 03:04 PM
multiple databases, multiple css files - by El Forum - 10-23-2009, 03:30 PM
multiple databases, multiple css files - by El Forum - 10-23-2009, 03:35 PM
multiple databases, multiple css files - by El Forum - 10-23-2009, 07:34 PM
multiple databases, multiple css files - by El Forum - 10-23-2009, 07:35 PM
multiple databases, multiple css files - by El Forum - 10-23-2009, 11:42 PM
multiple databases, multiple css files - by El Forum - 12-18-2009, 04:35 PM
multiple databases, multiple css files - by El Forum - 12-18-2009, 09:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB