projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bug: not printing "OK" after registration
[speedfreak]
/
Server
/
application
/
controllers
/
api.php
diff --git
a/Server/application/controllers/api.php
b/Server/application/controllers/api.php
index
33c8558
..
d8f8e6a
100644
(file)
--- a/
Server/application/controllers/api.php
+++ b/
Server/application/controllers/api.php
@@
-23,7
+23,7
@@
class Api_Controller extends Controller{
$xml = $this->get_xml();
try {
$user = new User_Model($xml->login, $xml->password, $xml->email);
- return "OK";
+ echo "OK";
}
catch (Exception $e) {
echo $e->getMessage() . "\n";