aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-11-21 12:17:04 -0800
committerCesar G <prototech91@gmail.com>2014-11-21 12:17:04 -0800
commitf3373e1e322bcd7cd084600ac27c44e0912f9e56 (patch)
tree8bafeb931036169294e04c03150e560a1abf5ab3 /phpBB/phpbb
parentf719803fdc8f16430ed3e85625dd337da1de52d9 (diff)
downloadforums-f3373e1e322bcd7cd084600ac27c44e0912f9e56.tar
forums-f3373e1e322bcd7cd084600ac27c44e0912f9e56.tar.gz
forums-f3373e1e322bcd7cd084600ac27c44e0912f9e56.tar.bz2
forums-f3373e1e322bcd7cd084600ac27c44e0912f9e56.tar.xz
forums-f3373e1e322bcd7cd084600ac27c44e0912f9e56.zip
[ticket/13316] Ensure Recaptcha image uses https when necessary.
PHPBB3-13316
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/captcha/plugins/recaptcha.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/phpbb/captcha/plugins/recaptcha.php b/phpBB/phpbb/captcha/plugins/recaptcha.php
index ea446d7bc3..584f3afec1 100644
--- a/phpBB/phpbb/captcha/plugins/recaptcha.php
+++ b/phpBB/phpbb/captcha/plugins/recaptcha.php
@@ -26,8 +26,10 @@ class recaptcha extends captcha_abstract
var $challenge;
var $response;
- // PHP4 Constructor
- function phpbb_recaptcha()
+ /**
+ * Constructor
+ */
+ public function __construct()
{
global $request;
$this->recaptcha_server = $request->is_secure() ? $this->recaptcha_server_secure : $this->recaptcha_server;