Merge pull request #7231 from owncloud/proper-content-type
Use the proper content-type
This commit is contained in:
commit
798dc2c39a
1 changed files with 2 additions and 0 deletions
|
@ -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('
|
||||||
|
|
Loading…
Reference in a new issue