move storage assets to zotlabs/storage

This commit is contained in:
redmatrix
2016-02-19 00:06:10 -08:00
parent 5a7b994e59
commit 28d07fd6b2
11 changed files with 1471 additions and 39 deletions

View File

@@ -294,8 +294,8 @@ function z_post_url_json($url, $params, $redirects = 0, $opts = array()) {
}
function json_return_and_die($x) {
header("content-type: application/json");
function json_return_and_die($x, $content_type = 'application/json') {
header("Content-type: $content_type");
echo json_encode($x);
killme();
}