834124566861923694a3dcaf46b7d013937b45af braney Thu May 9 13:15:14 2013 -0700 set the UDC cache dir before calling the cart functions. diff --git src/hg/hgBlat/hgBlat.c src/hg/hgBlat/hgBlat.c index 5a9f873..5f172eb 100644 --- src/hg/hgBlat/hgBlat.c +++ src/hg/hgBlat/hgBlat.c @@ -797,27 +797,29 @@ blatSeq(skipLeadingSpaces(userSeq), organism); } } /* Null terminated list of CGI Variables we don't want to save * permanently. */ char *excludeVars[] = {"Submit", "submit", "Clear", "Lucky", "type", "userSeq", "seqFile", "showPage", "changeInfo", NULL}; int main(int argc, char *argv[]) /* Process command line. */ { long enteredMainTime = clock1000(); oldVars = hashNew(10); cgiSpoof(&argc, argv); +setUdcCacheDir(); + /* org has precedence over db when changeInfo='orgChange' */ orgChange = sameOk(cgiOptionalString("changeInfo"),"orgChange"); if (orgChange) { cgiVarSet("db", hDefaultDbForGenome(cgiOptionalString("org"))); } cartEmptyShell(doMiddle, hUserCookie(), excludeVars, oldVars); cgiExitTime("hgBlat", enteredMainTime); return 0; }