Author: jaz
Date: Tue Sep 11 15:48:55 2007
New Revision: 574715
URL:
http://svn.apache.org/viewvc?rev=574715&view=revLog:
changed track-stats to track-serverhit to be more clear
Modified:
ofbiz/trunk/framework/webapp/dtd/site-conf.xsd
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
Modified: ofbiz/trunk/framework/webapp/dtd/site-conf.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/dtd/site-conf.xsd?rev=574715&r1=574714&r2=574715&view=diff==============================================================================
--- ofbiz/trunk/framework/webapp/dtd/site-conf.xsd (original)
+++ ofbiz/trunk/framework/webapp/dtd/site-conf.xsd Tue Sep 11 15:48:55 2007
@@ -146,7 +146,7 @@
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="track-stats" default="true">
+ <xs:attribute name="track-serverhit" default="true">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="true"/>
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java?rev=574715&r1=574714&r2=574715&view=diff==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java Tue Sep 11 15:48:55 2007
@@ -99,7 +99,7 @@
public static final String REQUEST_MAPPING = "request-map";
public static final String REQUEST_URI = "uri";
public static final String REQUEST_EDIT = "edit";
- public static final String REQUEST_TRACK_STATS = "track-stats";
+ public static final String REQUEST_TRACK_STATS = "track-serverhit";
public static final String REQUEST_TRACK_VISIT = "track-visit";
public static final String REQUEST_DESCRIPTION = "description";
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=574715&r1=574714&r2=574715&view=diff==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Tue Sep 11 15:48:55 2007
@@ -900,7 +900,7 @@
}
public boolean trackStats(HttpServletRequest request) {
- String appStats = context.getInitParameter("track-stats");
+ String appStats = context.getInitParameter("track-serverhit");
if (appStats != null && !"false".equalsIgnoreCase(appStats)) {
String uriString = RequestHandler.getRequestUri(request.getPathInfo());
return !"false".equalsIgnoreCase(requestManager.getRequestAttribute(uriString, ConfigXMLReader.REQUEST_TRACK_STATS));