From: William Desportes <williamdes@wdes.fr>
Date: Fri, 1 Jan 2021 22:48:21 +0100
Subject: Update example to use the Debian php autoload format

Forwarded: not-needed
---
 examples/recaptcha-content-security-policy.php | 2 +-
 examples/recaptcha-v2-checkbox-explicit.php    | 2 +-
 examples/recaptcha-v2-checkbox.php             | 2 +-
 examples/recaptcha-v2-invisible.php            | 2 +-
 examples/recaptcha-v3-request-scores.php       | 2 +-
 examples/recaptcha-v3-verify.php               | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/examples/recaptcha-content-security-policy.php b/examples/recaptcha-content-security-policy.php
index 86dcdbd..36d9a10 100644
--- a/examples/recaptcha-content-security-policy.php
+++ b/examples/recaptcha-content-security-policy.php
@@ -35,7 +35,7 @@ require __DIR__ . '/appengine-https.php';
 // Initiate the autoloader. The file should be generated by Composer.
 // You will provide your own autoloader or require the files directly if you did
 // not install via Composer.
-require_once __DIR__ . '/../vendor/autoload.php';
+require_once 'ReCaptcha/autoload.php';
 
 // This example shows the use of a Content Security Policy
 // https://developers.google.com/web/fundamentals/security/csp/
diff --git a/examples/recaptcha-v2-checkbox-explicit.php b/examples/recaptcha-v2-checkbox-explicit.php
index bfdc4a0..a307bea 100644
--- a/examples/recaptcha-v2-checkbox-explicit.php
+++ b/examples/recaptcha-v2-checkbox-explicit.php
@@ -35,7 +35,7 @@ require __DIR__ . '/appengine-https.php';
 // Initiate the autoloader. The file should be generated by Composer.
 // You will provide your own autoloader or require the files directly if you did
 // not install via Composer.
-require_once __DIR__ . '/../vendor/autoload.php';
+require_once 'ReCaptcha/autoload.php';
 
 // Register API keys at https://www.google.com/recaptcha/admin
 $siteKey = '';
diff --git a/examples/recaptcha-v2-checkbox.php b/examples/recaptcha-v2-checkbox.php
index 7eb5e4b..91e36b7 100644
--- a/examples/recaptcha-v2-checkbox.php
+++ b/examples/recaptcha-v2-checkbox.php
@@ -35,7 +35,7 @@ require __DIR__ . '/appengine-https.php';
 // Initiate the autoloader. The file should be generated by Composer.
 // You will provide your own autoloader or require the files directly if you did
 // not install via Composer.
-require_once __DIR__ . '/../vendor/autoload.php';
+require_once 'ReCaptcha/autoload.php';
 
 // Register API keys at https://www.google.com/recaptcha/admin
 $siteKey = '';
diff --git a/examples/recaptcha-v2-invisible.php b/examples/recaptcha-v2-invisible.php
index bed5d4f..94c19e2 100644
--- a/examples/recaptcha-v2-invisible.php
+++ b/examples/recaptcha-v2-invisible.php
@@ -35,7 +35,7 @@ require __DIR__ . '/appengine-https.php';
 // Initiate the autoloader. The file should be generated by Composer.
 // You will provide your own autoloader or require the files directly if you did
 // not install via Composer.
-require_once __DIR__ . '/../vendor/autoload.php';
+require_once 'ReCaptcha/autoload.php';
 
 // Register API keys at https://www.google.com/recaptcha/admin
 $siteKey = '';
diff --git a/examples/recaptcha-v3-request-scores.php b/examples/recaptcha-v3-request-scores.php
index 766c373..ae0bba4 100644
--- a/examples/recaptcha-v3-request-scores.php
+++ b/examples/recaptcha-v3-request-scores.php
@@ -35,7 +35,7 @@ require __DIR__ . '/appengine-https.php';
 // Initiate the autoloader. The file should be generated by Composer.
 // You will provide your own autoloader or require the files directly if you did
 // not install via Composer.
-require_once __DIR__ . '/../vendor/autoload.php';
+require_once 'ReCaptcha/autoload.php';
 
 // Register API keys at https://www.google.com/recaptcha/admin
 $siteKey = '';
diff --git a/examples/recaptcha-v3-verify.php b/examples/recaptcha-v3-verify.php
index 3b6517a..de174ff 100644
--- a/examples/recaptcha-v3-verify.php
+++ b/examples/recaptcha-v3-verify.php
@@ -35,7 +35,7 @@ require __DIR__ . '/appengine-https.php';
 // Initiate the autoloader. The file should be generated by Composer.
 // You will provide your own autoloader or require the files directly if you did
 // not install via Composer.
-require_once __DIR__ . '/../vendor/autoload.php';
+require_once 'ReCaptcha/autoload.php';
 
 // Register API keys at https://www.google.com/recaptcha/admin
 $siteKey = '';
