Merge pull request #7231 from owncloud/proper-content-type

Use the proper content-type
This commit is contained in:
Jörn Friedrich Dreyer 2014-02-17 20:58:52 +01:00
commit 798dc2c39a

View file

@ -23,6 +23,8 @@
require_once '../lib/base.php'; require_once '../lib/base.php';
header('Content-type: application/xml');
$url=OCP\Util::getServerProtocol().'://'.substr(OCP\Util::getServerHost().OCP\Util::getRequestUri(), 0, -17).'ocs/v1.php/'; $url=OCP\Util::getServerProtocol().'://'.substr(OCP\Util::getServerHost().OCP\Util::getRequestUri(), 0, -17).'ocs/v1.php/';
echo(' echo('