mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01:08 -05:00
create new object
This commit is contained in:
parent
2e7be5e1cb
commit
1221a712f3
@ -744,6 +744,7 @@ class Main extends CI_Controller
|
|||||||
$url = "https://www.google.com/recaptcha/api/siteverify?secret=" . $pk . "&response;=" . $rf . "&remoteip;=" . $ra;
|
$url = "https://www.google.com/recaptcha/api/siteverify?secret=" . $pk . "&response;=" . $rf . "&remoteip;=" . $ra;
|
||||||
$response = $this->curl->simple_get($url);
|
$response = $this->curl->simple_get($url);
|
||||||
$status = json_decode($response, true);
|
$status = json_decode($response, true);
|
||||||
|
$recaptcha_response = new stdClass();
|
||||||
|
|
||||||
if ($status['success'])
|
if ($status['success'])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user