Skip to content
Snippets Groups Projects
Commit 7fcb947b authored by Olivier Couet's avatar Olivier Couet
Browse files

The file containing the world map should be accessed remotely.

parent 2f93fa64
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ void SQLiteIPLocation() {
TSQLServer *db = TSQLServer::Connect("root_download_stats.sqlite", "", "");
auto F = new TFile("WMCountry.root");
TFile *F = TFile::Open("http://root.cern.ch/files/WM.root");
TH2Poly *WM;
WM = (TH2Poly*) F->Get("WM");
const char *location = "SELECT IPLatitude, IPLongitude FROM accesslog;";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment