use require instead of import
This commit is contained in:
parent
e305c030e6
commit
97158b5f0c
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
use GuzzleHttp\Client;
|
||||
|
||||
function mailAddress($hCaptchaResponse) {
|
||||
include("./lib/config.php");
|
||||
require "./lib/config.php";
|
||||
$data = array(
|
||||
'secret' => $secretkey,
|
||||
'response' => $hCaptchaResponse
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue