diff options
author | redmatrix <git@macgirvin.com> | 2016-02-19 00:06:10 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-02-19 00:06:10 -0800 |
commit | 28d07fd6b2b48632edadc94055c1be8a0cb11274 (patch) | |
tree | 3f32eb951b3a3fae05ae7be1566d66a1293b1339 /include/network.php | |
parent | 5a7b994e59306519574ce7aaa004f08d7d47ee05 (diff) | |
download | volse-hubzilla-28d07fd6b2b48632edadc94055c1be8a0cb11274.tar.gz volse-hubzilla-28d07fd6b2b48632edadc94055c1be8a0cb11274.tar.bz2 volse-hubzilla-28d07fd6b2b48632edadc94055c1be8a0cb11274.zip |
move storage assets to zotlabs/storage
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php index aa6b54945..ecaf4e05f 100644 --- a/include/network.php +++ b/include/network.php @@ -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(); } |