I have a legacy ColdFusion system with over 200 <cflocation> tags, and would like to be able to easily turn them all off for testing purposes from within my Application.cfm.
What would be the best way to do this other than having to add a conditional statement to every file?
The thought of extending the <cflocation> tag to first check a true/false flag came to mind, but I have never done anything that advanced before, and have no idea where to start.