This commit is contained in:
Shinsuke Sugaya 2014-05-20 06:19:11 +09:00
parent eb3bf6802b
commit c3a389fbed

View file

@ -205,9 +205,11 @@ public class IndexAction {
protected String pagingQuery = null;
public boolean searchLogSupport;
public boolean searchLogSupport = Constants.TRUE.equals(crawlerProperties
.getProperty(Constants.SEARCH_LOG_PROPERTY, Constants.TRUE));
public boolean favoriteSupport;
public boolean favoriteSupport = Constants.TRUE.equals(crawlerProperties
.getProperty(Constants.USER_FAVORITE_PROPERTY, Constants.FALSE));
public boolean screenShotSupport;
@ -1281,11 +1283,6 @@ public class IndexAction {
}
langItems = systemHelper.getLanguageItems(locale);
searchLogSupport = Constants.TRUE.equals(crawlerProperties.getProperty(
Constants.SEARCH_LOG_PROPERTY, Constants.TRUE));
favoriteSupport = Constants.TRUE.equals(crawlerProperties.getProperty(
Constants.USER_FAVORITE_PROPERTY, Constants.FALSE));
final HttpSession session = request.getSession(false);
if (session != null) {
final Object obj = session.getAttribute(SSCConstants.USER_INFO);