Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
no-captcha
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CENTER-TBI
no-captcha
Commits
1630a6b7
Commit
1630a6b7
authored
Dec 04, 2014
by
Juukie14
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Veryfy spelling correction
parent
1907f0e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/NoCaptcha.php
src/NoCaptcha.php
+2
-2
No files found.
src/NoCaptcha.php
View file @
1630a6b7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
class
NoCaptcha
{
class
NoCaptcha
{
const
CLIENT_API
=
'https://www.google.com/recaptcha/api.js'
;
const
CLIENT_API
=
'https://www.google.com/recaptcha/api.js'
;
const
VER
Y
FY_URL
=
'https://www.google.com/recaptcha/api/siteverify'
;
const
VER
I
FY_URL
=
'https://www.google.com/recaptcha/api/siteverify'
;
/**
/**
* //
* //
...
@@ -99,7 +99,7 @@ class NoCaptcha {
...
@@ -99,7 +99,7 @@ class NoCaptcha {
*/
*/
protected
function
sendRequestVerify
(
array
$query
=
array
())
protected
function
sendRequestVerify
(
array
$query
=
array
())
{
{
$link
=
static
::
VER
Y
FY_URL
.
'?'
.
http_build_query
(
$query
);
$link
=
static
::
VER
I
FY_URL
.
'?'
.
http_build_query
(
$query
);
$response
=
file_get_contents
(
$link
);
$response
=
file_get_contents
(
$link
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment