mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 17:29:10 +00:00
Changed: Minor changes
This commit is contained in:
parent
3712c43a17
commit
2214e6a5f0
2 changed files with 4 additions and 4 deletions
|
@ -431,8 +431,8 @@ CClientConfig::CClientConfig()
|
||||||
WebIgMainDomain = "atys.ryzom.com";
|
WebIgMainDomain = "atys.ryzom.com";
|
||||||
WebIgTrustedDomains.push_back(WebIgMainDomain);
|
WebIgTrustedDomains.push_back(WebIgMainDomain);
|
||||||
|
|
||||||
RingReleaseNotePath = "http://"+WebIgMainDomain+"/releasenotes_ring/index.php";
|
RingReleaseNotePath = "http://" + WebIgMainDomain + "/releasenotes_ring/index.php";
|
||||||
ReleaseNotePath = "http://"+WebIgMainDomain+"/releasenotes/index.php";
|
ReleaseNotePath = "http://" + WebIgMainDomain + "/releasenotes/index.php";
|
||||||
|
|
||||||
|
|
||||||
///////////////
|
///////////////
|
||||||
|
|
|
@ -185,7 +185,7 @@ struct CStatThread : public NLMISC::IRunnable
|
||||||
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);
|
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);
|
||||||
// curl_easy_setopt(curl, CURLOPT_USERAGENT, "unknown");
|
// curl_easy_setopt(curl, CURLOPT_USERAGENT, "unknown");
|
||||||
curl_easy_setopt(curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)");
|
curl_easy_setopt(curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)");
|
||||||
curl_easy_setopt(curl, CURLOPT_REFERER, string("http://www.ryzom.com/"+referer).c_str());
|
curl_easy_setopt(curl, CURLOPT_REFERER, string("http://www.ryzom.com/" + referer).c_str());
|
||||||
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
|
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
|
||||||
CURLcode res = curl_easy_perform(curl);
|
CURLcode res = curl_easy_perform(curl);
|
||||||
curl_easy_cleanup(curl);
|
curl_easy_cleanup(curl);
|
||||||
|
@ -240,7 +240,7 @@ struct CStatThread : public NLMISC::IRunnable
|
||||||
addParam(params, "page", "");
|
addParam(params, "page", "");
|
||||||
addParam(params, "pagetitle", referer);
|
addParam(params, "pagetitle", referer);
|
||||||
addParam(params, "screen", toString("%dx%d", ClientCfg.ConfigFile.getVar("Width").asInt(), ClientCfg.ConfigFile.getVar("Height").asInt()));
|
addParam(params, "screen", toString("%dx%d", ClientCfg.ConfigFile.getVar("Width").asInt(), ClientCfg.ConfigFile.getVar("Height").asInt()));
|
||||||
addParam(params, "referer", "http%3A%2F%2Fwww.ryzom.com%2F"+referer);
|
addParam(params, "referer", "http%3A%2F%2Fwww.ryzom.com%2F" + referer);
|
||||||
time_t rawtime;
|
time_t rawtime;
|
||||||
struct tm * timeinfo;
|
struct tm * timeinfo;
|
||||||
char buffer [80];
|
char buffer [80];
|
||||||
|
|
Loading…
Reference in a new issue