fix #160
This commit is contained in:
parent
eb3bf6802b
commit
c3a389fbed
1 changed files with 4 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue