Detect http protocol in providers.php
This commit is contained in:
parent
6675a46679
commit
b2a1b54e9c
|
@ -23,7 +23,7 @@
|
|||
|
||||
require_once '../lib/base.php';
|
||||
|
||||
$url='http://'.substr(OCP\Util::getServerHost().$_SERVER['REQUEST_URI'], 0, -17).'ocs/v1.php/';
|
||||
$url=OCP\Util::getServerProtocol().'://'.substr(OCP\Util::getServerHost().$_SERVER['REQUEST_URI'], 0, -17).'ocs/v1.php/';
|
||||
|
||||
echo('
|
||||
<providers>
|
||||
|
|
Loading…
Reference in New Issue