PHP 7.4.33
Preview: TestHelper.php Size: 440 B
/home/godevadmin/www/admin/braintree/tests/TestHelper.php

<?php
session_start();
require_once("vendor/autoload.php");

if(file_exists(__DIR__ . "/../.env")) {
    $dotenv = new Dotenv\Dotenv(__DIR__ . "/../");
    $dotenv->load();
}

Braintree\Configuration::environment(getenv('BT_ENVIRONMENT'));
Braintree\Configuration::merchantId(getenv('BT_MERCHANT_ID'));
Braintree\Configuration::publicKey(getenv('BT_PUBLIC_KEY'));
Braintree\Configuration::privateKey(getenv('BT_PRIVATE_KEY'));

Directory Contents

Dirs: 2 × Files: 2

Name Size Perms Modified Actions
includes DIR
- drwxrwxr-x 2023-11-07 19:59:46
Edit Download
- drwxrwxr-x 2023-11-07 19:59:46
Edit Download
404 B lrwxrwxr-x 2023-11-07 19:59:46
Edit Download
440 B lrwxrwxr-x 2023-11-07 19:59:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).