aboutsummaryrefslogtreecommitdiffstats
path: root/apps/remoteStorage
diff options
context:
space:
mode:
authorMichiel@unhosted <michiel@unhosted.org>2011-10-13 15:49:53 +0200
committerMichiel@unhosted <michiel@unhosted.org>2011-10-13 15:50:08 +0200
commit8da00e2d9aef5b77832a8d05a87c6b7cfbc5940a (patch)
treebe4bc9897cb20702f4c40411f7398b88c8be1bd8 /apps/remoteStorage
parent9d3c7badb5fd1b9319b35be74e3757702b499d9b (diff)
downloadnextcloud-server-8da00e2d9aef5b77832a8d05a87c6b7cfbc5940a.tar.gz
nextcloud-server-8da00e2d9aef5b77832a8d05a87c6b7cfbc5940a.zip
avoiding notice if ['HTTPS'] is not set
Diffstat (limited to 'apps/remoteStorage')
-rw-r--r--apps/remoteStorage/compat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/remoteStorage/compat.php b/apps/remoteStorage/compat.php
index 35a133c43c7..445257320c6 100644
--- a/apps/remoteStorage/compat.php
+++ b/apps/remoteStorage/compat.php
@@ -101,7 +101,7 @@ if(count($pathParts) >= 8 && $pathParts[0] == '' && $pathParts[2] == 'remoteStor
$token=OC_remoteStorage::createDataScope($appUrl, $userAddress, $dataScope);
header('Location: '.$_GET['redirect_uri'].'#access_token='.$token.'&token_type=remoteStorage');
} else {
- if($_SERVER['HTTPS']){
+ if((isset($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'])) {
$url = "https://";
} else {
$url = "http://";