trezker/Morzo — Issue #44: Fix json responses
Author: trezker
Created: 2012-02-04 12:20:35+00:00
State: open
Labels: Bug

On all functions returning json.
Set the content type.
header('Content-type: application/json');
All map keys in string success => false should be 'success' => false.