Changed: Added NamingPolicyURL variable in cfg

This commit is contained in:
kervala 2016-02-20 19:00:25 +01:00
parent 2f9f1b249d
commit c93112f3c5
3 changed files with 6 additions and 0 deletions

View file

@ -884,6 +884,7 @@ void CClientConfig::setValues()
READ_STRING_FV(CreateAccountURL)
READ_STRING_FV(EditAccountURL)
READ_STRING_FV(ConditionsTermsURL)
READ_STRING_FV(NamingPolicyURL)
READ_STRING_FV(BetaAccountURL)
READ_STRING_FV(ForgetPwdURL)
READ_STRING_FV(FreeTrialURL)

View file

@ -160,6 +160,7 @@ struct CClientConfig
string CreateAccountURL;
string EditAccountURL;
string ConditionsTermsURL;
string NamingPolicyURL;
string BetaAccountURL;
string ForgetPwdURL;
string FreeTrialURL;

View file

@ -1886,6 +1886,10 @@ class CAHOpenURL : public IActionHandler
{
url = ClientCfg.ConditionsTermsURL;
}
else if (sParams == "cfg_NamingPolicyURL")
{
url = ClientCfg.NamingPolicyURL;
}
else
{
nlwarning("no URL found");