code: protected static Configuration getConfig(String path) {
  		if (cfg == null) {
  			cfg = new Configuration();
  			cfg.setClassForTemplateLoading(TemplateUtil.class, path == null ? "/templates" : path);
  			cfg.setLocale(Locale.US);
  			cfg.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
  		}
  		return cfg;
  	}
docs: Gets the config.
  
  @param path
  
  @return the config