sslify http links in media elements if you're on an https server

This commit is contained in:
friendica
2013-12-25 02:45:22 -08:00
parent c1875bcc37
commit 4ec569d6e7
2 changed files with 38 additions and 0 deletions

6
mod/sslify.php Normal file
View File

@@ -0,0 +1,6 @@
<?php
function sslify_init(&$a) {
goaway($_REQUEST['url']);
}