[Lxr-commits] CVS: lxr/templates global.conf.part,1.3,1.4
Brought to you by:
ajlittoz
From: Andre-Littoz <ajl...@us...> - 2013-08-31 19:30:36
|
Update of /cvsroot/lxr/lxr/templates In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14046/templates Modified Files: global.conf.part Log Message: templates/global.conf.part: fix for bug #241 - HTML templates not found under Ubuntu Use OS-absolute path in lxr.conf since Ubuntu does not seem to set corrrectly the working directory when launching CGI scripts Index: global.conf.part =================================================================== RCS file: /cvsroot/lxr/lxr/templates/global.conf.part,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- global.conf.part 18 Mar 2013 13:20:57 -0000 1.3 +++ global.conf.part 31 Aug 2013 19:30:32 -0000 1.4 @@ -69,31 +69,31 @@ #@MSG to avoid screen cluttering. #@ASK --- Use 'buttons-and-menus' instead of 'link' interface?; 1;yes, no; Y, N #@IF "%A%" eq 'Y' - , 'htmlhead' => 'templates/html/html-head-btn.html' + , 'htmlhead' => '%LXRroot%/templates/html/html-head-btn.html' #@ELSE - , 'htmlhead' => 'templates/html/html-head.html' + , 'htmlhead' => '%LXRroot%/templates/html/html-head.html' #@ENDIF - , 'htmltail' => 'templates/html/html-tail.html' - , 'htmldir' => 'templates/html/html-dir-indexing.html' + , 'htmltail' => '%LXRroot%/templates/html/html-tail.html' + , 'htmldir' => '%LXRroot%/templates/html/html-dir-indexing.html' # If you do not need the "last indexed" column in directory # display (e.g. for a stable unchanging tree), erase the # '-indexing' suffix above. - , 'htmlident' => 'templates/html/html-ident.html' - , 'htmlsearch' => 'templates/html/html-search-%search_engine%.html' - , 'htmlconfig' => 'templates/html/html-config.html' + , 'htmlident' => '%LXRroot%/templates/html/html-ident.html' + , 'htmlsearch' => '%LXRroot%/templates/html/html-search-%search_engine%.html' + , 'htmlconfig' => '%LXRroot%/templates/html/html-config.html' # htmlhead and htmltail can be customised for the various # LXR operations. Just replace html by source (listing file), # sourcedir (displaying directory), diff (difference markup), # ident (identifier search), search (free-text search) # as below (which changes nothing): -# , 'sourcehead' => 'templates/html/html-head.html' -# , 'sourcedirhead' => 'templates/html/html-head.html' +# , 'sourcehead' => '%LXRroot%/templates/html/html-head.html' +# , 'sourcedirhead' => '%LXRroot%/templates/html/html-head.html' # showconfig script is a bit special since "version" has # no meaning for it. Better to wipe out the 'variables' selection # links with an adequate header: - , 'showconfighead' => 'templates/html/config-head-btn-smaller.html' + , 'showconfighead' => '%LXRroot%/templates/html/config-head-btn-smaller.html' # Default character width of left version (for diff) , 'diffleftwidth' => 50 |