Rather than having an extra conditional in your code, you might read the path from the environment.
...roboticus
In reply to Re^3: What is the best practice to migrate scripts from test to production
by roboticus
in thread What is the best practice to migrate scripts from test to production
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |