mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 17:29:10 +00:00
Changed: Added NamingPolicyURL variable in cfg
This commit is contained in:
parent
b5eaa3a043
commit
1cee50c6cf
3 changed files with 6 additions and 0 deletions
|
@ -884,6 +884,7 @@ void CClientConfig::setValues()
|
||||||
READ_STRING_FV(CreateAccountURL)
|
READ_STRING_FV(CreateAccountURL)
|
||||||
READ_STRING_FV(EditAccountURL)
|
READ_STRING_FV(EditAccountURL)
|
||||||
READ_STRING_FV(ConditionsTermsURL)
|
READ_STRING_FV(ConditionsTermsURL)
|
||||||
|
READ_STRING_FV(NamingPolicyURL)
|
||||||
READ_STRING_FV(BetaAccountURL)
|
READ_STRING_FV(BetaAccountURL)
|
||||||
READ_STRING_FV(ForgetPwdURL)
|
READ_STRING_FV(ForgetPwdURL)
|
||||||
READ_STRING_FV(FreeTrialURL)
|
READ_STRING_FV(FreeTrialURL)
|
||||||
|
|
|
@ -160,6 +160,7 @@ struct CClientConfig
|
||||||
string CreateAccountURL;
|
string CreateAccountURL;
|
||||||
string EditAccountURL;
|
string EditAccountURL;
|
||||||
string ConditionsTermsURL;
|
string ConditionsTermsURL;
|
||||||
|
string NamingPolicyURL;
|
||||||
string BetaAccountURL;
|
string BetaAccountURL;
|
||||||
string ForgetPwdURL;
|
string ForgetPwdURL;
|
||||||
string FreeTrialURL;
|
string FreeTrialURL;
|
||||||
|
|
|
@ -1886,6 +1886,10 @@ class CAHOpenURL : public IActionHandler
|
||||||
{
|
{
|
||||||
url = ClientCfg.ConditionsTermsURL;
|
url = ClientCfg.ConditionsTermsURL;
|
||||||
}
|
}
|
||||||
|
else if (sParams == "cfg_NamingPolicyURL")
|
||||||
|
{
|
||||||
|
url = ClientCfg.NamingPolicyURL;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
nlwarning("no URL found");
|
nlwarning("no URL found");
|
||||||
|
|
Loading…
Reference in a new issue