aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-25 02:45:22 -0800
committerfriendica <info@friendica.com>2013-12-25 02:45:22 -0800
commit4ec569d6e7ce5f114796d2a9e9f27fc945f0e61c (patch)
tree1b110c244487d8536a84bb1700e13de7d224e53d /mod
parentc1875bcc37ea1e668ccd0821baacd8706142f543 (diff)
downloadvolse-hubzilla-4ec569d6e7ce5f114796d2a9e9f27fc945f0e61c.tar.gz
volse-hubzilla-4ec569d6e7ce5f114796d2a9e9f27fc945f0e61c.tar.bz2
volse-hubzilla-4ec569d6e7ce5f114796d2a9e9f27fc945f0e61c.zip
sslify http links in media elements if you're on an https server
Diffstat (limited to 'mod')
-rw-r--r--mod/sslify.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/sslify.php b/mod/sslify.php
new file mode 100644
index 000000000..951a201ea
--- /dev/null
+++ b/mod/sslify.php
@@ -0,0 +1,6 @@
+<?php
+
+function sslify_init(&$a) {
+ goaway($_REQUEST['url']);
+}
+