Changeset 008bce9 for src/webapp/webservice/inc/GnuBoat/Service.php
- Timestamp:
- Aug 29, 2017, 6:19:00 PM (9 years ago)
- Branches:
- 0.5, debian/bullseye, debian/jessie, master
- Children:
- 89c510f
- Parents:
- fc63b30
- File:
-
- 1 edited
-
src/webapp/webservice/inc/GnuBoat/Service.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webservice/inc/GnuBoat/Service.php
rfc63b30 r008bce9 44 44 $this->process(); 45 45 } 46 47 public static function error($message) 48 { 49 Service::output(["error" => 1, "errormessage" => $message]); 50 } 51 52 public static function output($content) 53 { 54 header('Content-Type: application/json'); 55 echo json_encode($content); 56 } 46 57 47 58 /**
Note:
See TracChangeset
for help on using the changeset viewer.
