MT#6703 restore config paths to static and templates