diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-21 22:29:02 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-21 22:29:02 +0100 |
commit | d7d4f681ca5e7d56acb24becbe48b6893bf5304d (patch) | |
tree | 8bafeb931036169294e04c03150e560a1abf5ab3 | |
parent | f719803fdc8f16430ed3e85625dd337da1de52d9 (diff) | |
parent | f3373e1e322bcd7cd084600ac27c44e0912f9e56 (diff) | |
download | forums-d7d4f681ca5e7d56acb24becbe48b6893bf5304d.tar forums-d7d4f681ca5e7d56acb24becbe48b6893bf5304d.tar.gz forums-d7d4f681ca5e7d56acb24becbe48b6893bf5304d.tar.bz2 forums-d7d4f681ca5e7d56acb24becbe48b6893bf5304d.tar.xz forums-d7d4f681ca5e7d56acb24becbe48b6893bf5304d.zip |
Merge pull request #3156 from prototech/ticket/13316
[ticket/13316] Ensure Recaptcha image uses https when necessary.
-rw-r--r-- | phpBB/phpbb/captcha/plugins/recaptcha.php | 6 |
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; |