8140039c43fa2879af5555345000c5cad6a73ddb braney Fri Oct 22 09:01:18 2010 -0700 add ability to put styleDir and styleImagesDir in hg.conf diff --git src/hg/lib/web.c src/hg/lib/web.c index 0f73f91..43e2e22 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -1261,9 +1261,9 @@ if (js) dirName = cfgOptionDefault("browser.javaScriptDir", "js"); else if (style) - dirName = "style"; + dirName = cfgOptionDefault("browser.styleDir","style"); else if (image) - dirName = "style/images"; + dirName = cfgOptionDefault("browser.styleImagesDir","style/images"); struct dyString *fullDirName = NULL; char *docRoot = hDocumentRoot(); if(docRoot != NULL) // tolerate missing docRoot (i.e. when running from command line)