11-06-2016, 01:37 PM
So let me make sure we're on the same page. There's no functions.js file in userspice, so that's your own file. Is there a reason that
<script src="https://yourdomain.com/users/js/myscripts.js"></script>
or whatever wouldn't work or do you turn force ssl off and on?
You always have the idea of
<script src="https://yourdomain.com/users/js/myscripts.js"></script>
or whatever wouldn't work or do you turn force ssl off and on?
You always have the idea of
Code:
<?php
Code:
if ($settings->force_ssl==1){ ?>
Code:
<script src="https://yourdomain.com/users/js/myscripts.js"></script>
Code:
<?php }else{ ?>
Code:
<script src="http://yourdomain.com/users/js/myscripts.js"></script>
Code:
<?php } ?>