Changeset 23837
- Timestamp:
- 2011-03-30T16:01:27+13:00 (13 years ago)
- Location:
- main/trunk/greenstone3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r23809 r23837 1651 1651 <arg value="win32.mak"/> 1652 1652 <arg value="install"/> 1653 <arg value="GSDLHOME=${gs2build.home}"/> 1653 1654 <arg value="ENABLE_JNI=${gs2.windows.enablejni}"/> 1654 <arg value="USE_SQLITE=0"/> <!-- why is this not on by default? --> 1655 <arg value="ENABLE_MG=${gs2.windows.enablemg}"/> 1656 <arg value="ENABLE_MGPP=${gs2.windows.enablemgpp}"/> 1657 <arg value="USE_GDBM=${gs2.windows.usegdbm}"/> 1658 <arg value="USE_SQLITE=${gs2.windows.usesqlite}"/> 1659 <!-- 1660 <arg value="ENABLE_JNI=${gs2.windows.enablejni}"/> 1661 <arg value="USE_SQLITE=0"/>--> <!-- why is this not on by default? --> 1655 1662 </exec> 1656 1663 -
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
r23794 r23837 287 287 boolean allowsClientXSLT = (Boolean)config_params.get(GSConstants.ALLOW_CLIENT_SIDE_XSLT); 288 288 //System.out.println("Client side transforms allowed? " + allowsClientXSLT); 289 290 String currentInterface = (String)config_params.get(GSConstants.INTERFACE_NAME); 289 291 290 292 // Force it back to traditional 291 if(!allowsClientXSLT )293 if(!allowsClientXSLT && currentInterface.equals("default")) 292 294 config_params.put(GSConstants.INTERFACE_NAME, "traditional"); 293 295 … … 295 297 String output = request.getAttribute(GSXML.OUTPUT_ATT); 296 298 297 String currentInterface = (String)config_params.get(GSConstants.INTERFACE_NAME);298 299 //System.out.println("Current output mode is: " + output + ", current interface name is: " + currentInterface); 299 300 … … 413 414 if (collection == null) collection = ""; 414 415 } 415 416 416 417 String xslt_file = getXSLTFileName(action, subaction, collection); 417 418 if (xslt_file==null) { … … 419 420 return fileNotFoundErrorPage(xslt_file); 420 421 } 421 422 422 423 Document style_doc = this.converter.getDOM(new File(xslt_file), "UTF-8"); 423 424 String errorPage = this.converter.getParseErrorMessage();
Note:
See TracChangeset
for help on using the changeset viewer.