aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-11-07 04:50:54 +0100
committerSem <sembrestels@riseup.net>2013-11-07 04:50:54 +0100
commitb02119c597a1d806e7910e63ba20139234249fa0 (patch)
tree4b381ec2c56ac64d0e777afdf1b8f0ed190f6f10 /start.php
parent24e097f126aee59206c7f44e2b37b915d85dfd23 (diff)
downloadelgg-b02119c597a1d806e7910e63ba20139234249fa0.tar.gz
elgg-b02119c597a1d806e7910e63ba20139234249fa0.tar.bz2
Using https instead http.
Diffstat (limited to 'start.php')
-rw-r--r--start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.php b/start.php
index 877992b1a..2094ffacc 100644
--- a/start.php
+++ b/start.php
@@ -300,7 +300,7 @@ function videolist_preprocess_url($hook, $type, $returnvalue, $params) {
$parsed = parse_url($returnvalue);
if (empty($parsed['host']) && ! empty($parsed['path']) && $parsed['path'][0] !== '/') {
// user probably forgot scheme
- $returnvalue = 'http://' . $returnvalue;
+ $returnvalue = 'https://' . $returnvalue;
}
return $returnvalue;
}