Revision 8164
Added by Jing Tao over 10 years ago
DBQuery.java | ||
---|---|---|
88 | 88 |
public class DBQuery |
89 | 89 |
{ |
90 | 90 |
|
91 |
public static final String XPATHQUERYOFFINFO = "The Metacat Path Query Engine is turned off. If you want to turn it on, please contact the administrator."; |
|
91 | 92 |
static final int ALL = 1; |
92 | 93 |
|
93 | 94 |
static final int WRITE = 2; |
... | ... | |
340 | 341 |
String output = ""; |
341 | 342 |
output += "<?xml version=\"1.0\"?>"; |
342 | 343 |
output += "<error>"; |
343 |
output += "The Metacat Path Query is turned off. If you want to turn it on, please contact the administrator.";
|
|
344 |
output += XPATHQUERYOFFINFO;
|
|
344 | 345 |
output += "</error>"; |
345 | 346 |
out.write(output); |
346 | 347 |
out.close(); |
Also available in: Unified diff
If the pathquery engine is disabled, the xml path index queue will be disabled as well.