diff --git a/public/API/queries/mailAddress.php b/public/API/queries/mailAddress.php index df35464278845b79349b84b63ec640b9b41817e2..17807df99aa67375d4c8012a2cb21bddc7d99802 100644 --- a/public/API/queries/mailAddress.php +++ b/public/API/queries/mailAddress.php @@ -2,7 +2,7 @@ use GuzzleHttp\Client; function mailAddress($hCaptchaResponse) { - include("./lib/config.php"); + require "./lib/config.php"; $data = array( 'secret' => $secretkey, 'response' => $hCaptchaResponse diff --git a/public/API/queries/skills.php b/public/API/queries/skills.php index bb57bc8d4a705227b2a7ec66d9b9b799b67a2609..31670650e1ff02c573b4c61eceaddea7f976061d 100644 --- a/public/API/queries/skills.php +++ b/public/API/queries/skills.php @@ -1,7 +1,7 @@ <?php function getSkills() { - include("./lib/config.php"); + require "./lib/config.php"; $s3Client = new Aws\S3\S3Client([ 'version' => 'latest', 'region' => 'us-east-1',