File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22
3- use ReCaptcha \ReCaptcha ;
4- use ReCaptcha \RequestMethod \CurlPost ;
5-
63/**
74 * BSD 3-Clause License.
85 *
3633 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3734 */
3835
39- require __DIR__ .'/appengine-https.php ' ;
40-
4136// Initiate the autoloader. The file should be generated by Composer.
4237// You will provide your own autoloader or require the files directly if you did
4338// not install via Composer.
44- require_once __DIR__ .'/../vendor/autoload.php ' ;
39+ require_once __DIR__ .'/../src/autoload.php ' ;
40+
41+ use ReCaptcha \ReCaptcha ;
42+ use ReCaptcha \RequestMethod \CurlPost ;
4543
4644// Register API keys at https://www.google.com/recaptcha/admin
4745$ siteKey = '' ;
Original file line number Diff line number Diff line change 11<?php
2-
3- use ReCaptcha \ReCaptcha ;
4- use ReCaptcha \RequestMethod \Post ;
5-
62/**
73 * BSD 3-Clause License.
84 *
3632 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3733 */
3834
39- require __DIR__ .'/appengine-https.php ' ;
40-
4135// Initiate the autoloader. The file should be generated by Composer.
4236// You will provide your own autoloader or require the files directly if you did
4337// not install via Composer.
44- require_once __DIR__ .'/../vendor/autoload.php ' ;
38+ require_once __DIR__ .'/../src/autoload.php ' ;
39+
40+ use ReCaptcha \ReCaptcha ;
41+ use ReCaptcha \RequestMethod \Post ;
4542
4643// Register API keys at https://www.google.com/recaptcha/admin
4744$ siteKey = '' ;
Original file line number Diff line number Diff line change 11<?php
2-
3- use ReCaptcha \ReCaptcha ;
4- use ReCaptcha \RequestMethod \SocketPost ;
5-
62/**
73 * BSD 3-Clause License.
84 *
3632 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3733 */
3834
39- require __DIR__ .'/appengine-https.php ' ;
40-
4135// Initiate the autoloader. The file should be generated by Composer.
4236// You will provide your own autoloader or require the files directly if you did
4337// not install via Composer.
44- require_once __DIR__ .'/../vendor/autoload.php ' ;
38+ require_once __DIR__ .'/../src/autoload.php ' ;
39+ use ReCaptcha \ReCaptcha ;
40+ use ReCaptcha \RequestMethod \SocketPost ;
4541
4642// Register API keys at https://www.google.com/recaptcha/admin
4743$ siteKey = '' ;
You can’t perform that action at this time.
0 commit comments