summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerhome.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerhome.cpp')
-rw-r--r--indra/newview/llviewerhome.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llviewerhome.cpp b/indra/newview/llviewerhome.cpp
index ee1e46dc59..58630978c4 100644
--- a/indra/newview/llviewerhome.cpp
+++ b/indra/newview/llviewerhome.cpp
@@ -38,8 +38,9 @@
#include "llui.h"
#include "lluri.h"
#include "llsd.h"
-#include "llviewerversion.h"
+#include "llversioninfo.h"
#include "llviewercontrol.h"
+#include "llviewernetwork.h"
//static
std::string LLViewerHome::getHomeURL()
@@ -48,10 +49,11 @@ std::string LLViewerHome::getHomeURL()
// this value from settings.xml and support various substitutions
LLSD substitution;
- substitution["VERSION"] = llGetViewerVersion();
+ substitution["VERSION"] = LLVersionInfo::getVersion();
substitution["CHANNEL"] = LLURI::escape(gSavedSettings.getString("VersionChannelName"));
substitution["LANGUAGE"] = LLUI::getLanguage();
substitution["AUTH_KEY"] = LLURI::escape(getAuthKey());
+ substitution["GRID"] = LLViewerLogin::getInstance()->getGridLabel();
std::string homeURL = gSavedSettings.getString("HomeSidePanelURL");
LLStringUtil::format(homeURL, substitution);