mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-30 10:09:12 -04:00
Use the appropriate protocol for the reCAPTCHA script (so use https when the page is https).
Fixes #1445.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<div id="g-recaptcha"></div>
|
||||
<script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>
|
||||
<script type="text/javascript" src="<?= request::protocol() ?>://www.google.com/recaptcha/api/js/recaptcha_ajax.js">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
setTimeout(function() {
|
||||
Recaptcha.create(
|
||||
|
||||
Reference in New Issue
Block a user