Ignore:
Timestamp:
Sep 17, 2015, 9:11:21 PM (11 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
master
Children:
a2330fc
Parents:
e498070
Message:
  • Working c++ library webserviceclient class, which allows to register a station
    • Added tests for the webserviceclient class
    • Improved build system
    • Fixed some errors in Webservice Location.php and WebserviceApi.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webservice/htdocs/SiWeather/Webservice/WebserviceApi.php

    re498070 r915dc18  
    203203                                }
    204204                                if(!$validatedLocation){
    205                                         $message  = "The city (". $json[city] .") and location (". $json["latitude"] .", ". $json["longitude"] .") you send, does not suite with locations we found at your given location (city, latitude, longitude):\n";
     205                                        $message  = "The city (". $json["city"] .") and location (". $json["latitude"] .", ". $json["longitude"] .") you send, does not suite with locations we found at your given location (city, latitude, longitude):\n";
    206206                                        foreach($locations as $location){
    207207                                                $message .= "    ". $location->city() .": ". $location->latitude() .", ". $location->longitude() ."\n";
Note: See TracChangeset for help on using the changeset viewer.