Pro version equivalent of recent free version changes.

This commit is contained in:
Thulinma 2015-09-03 19:56:27 +02:00
parent d8051984f2
commit c8d1c2006e
6 changed files with 6 additions and 6 deletions

View file

@ -92,7 +92,7 @@ namespace Controller {
http.url = "/getsums.php?verinfo=1&rel=" RELEASE "&pass=" SHARED_SECRET "&uniqId=" + uniqId;
http.method = "GET";
http.SetHeader("Host", "releases.mistserver.org");
http.SetHeader("X-Version", PACKAGE_VERSION "/" + Util::Config::libver + "/" RELEASE);
http.SetHeader("X-Version", PACKAGE_VERSION);
updrConn.SendNow(http.BuildRequest());
http.Clean();
unsigned int startTime = Util::epoch();

View file

@ -120,7 +120,7 @@ void Controller::uplinkConnection(void * np) {
}
data["config"] = Controller::Storage["config"];
data["config"]["uniq"] = uniqId;
data["config"]["version"] = PACKAGE_VERSION "/" + Util::Config::libver + "/" RELEASE;
data["config"]["version"] = PACKAGE_VERSION;
Controller::checkCapable(capabilities);
data["capabilities"] = capabilities;
data["capabilities"].removeMember("connectors");