B
brett
I use two test servers and one production. I have a Utilities class
that holds many of the links used through the site. One of the
variables in this class is assigned the domain name. I need to
automatically set this value depending on the server I'm on. The
domain can be similar to any of the following depending on the server:
- abc.com
- 190.168.2.100
- 190.168.2.109
What is the best way to do that?
Thanks,
Brett
that holds many of the links used through the site. One of the
variables in this class is assigned the domain name. I need to
automatically set this value depending on the server I'm on. The
domain can be similar to any of the following depending on the server:
- abc.com
- 190.168.2.100
- 190.168.2.109
What is the best way to do that?
Thanks,
Brett