8ec484f53bae6f335c0bf5b0e7868b99750cafae
angie
  Tue Oct 28 11:47:00 2014 -0700
hgNear, hgVisiGene and phyloGif were missing a call to setUdcCacheDir leading to erroneous use of /tmp/udcCache instead of hg.conf setting.
diff --git src/hg/phyloGif/phyloGif.c src/hg/phyloGif/phyloGif.c
index dee4603..360aaff 100644
--- src/hg/phyloGif/phyloGif.c
+++ src/hg/phyloGif/phyloGif.c
@@ -336,30 +336,31 @@
 char *phyloData = NULL, *temp = NULL;
 struct phyloTree *phyloTree = NULL;
 int maxDepth = 0, numLeafs = 0, maxLabelWidth = 0;
 double minMaxFactor = 0.0;
 struct memGfx *mg = NULL;
 boolean useCart = FALSE;
 oldVars = hashNew(8);
 onWeb = cgiIsOnWeb();
 boolean isMSIE = FALSE;
 char *userAgent = getenv("HTTP_USER_AGENT");
 if (userAgent && strstr(userAgent ,"MSIE"))
     isMSIE = TRUE;
 	
 
 cgiSpoof(&argc, argv);
+setUdcCacheDir();
 if (argc != 1)
     usage("wrong number of args");
 
 if (onWeb)
     {
     /* this will cause it to kick out the set-cookie: http response header line */
     cart = cartAndCookieNoContent(hUserCookie(), excludeVars, oldVars);
     }
 else    
     {
     if (!cgiOptionalString("phyloGif_tree"))
     	usage("-phyloGif_tree is a required 'option' or cgi variable.");
     }
 
 //cartWarnCatcher(doMiddle, cart, cartEarlyWarningHandler);