Browse Source

Use the proper content-type

We should use the proper content-type `application/xml` instead of the default `text/html` here.

Backport requested.
remotes/origin/ldap_group_count
Lukas Reschke 12 years ago
parent
commit
8a2cd0355d
  1. 2
      ocs/providers.php

2
ocs/providers.php

@ -23,6 +23,8 @@
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/';
echo('

Loading…
Cancel
Save