Commit 4d7d5505 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

fix SSL redirection

parent 1e7dd858
......@@ -12,5 +12,9 @@
endif; ?>
<?php if ($ssl_redirect): ?>
RedirectMatch permanent ^(.*) https://<?php print $site_url ?>$1
<?php else: ?>
RedirectMatch permanent ^(.*) http://<?php print $site_url ?>$1
<?php endif; ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment