PHP 7.4.33
Preview: braintree_init.php Size: 459 B
/home/godevadmin/www/admin/braintree/tests/includes/braintree_init.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('sandbox'));
Braintree\Configuration::merchantId(getenv('k26xm69k5yhmzf8k'));
Braintree\Configuration::publicKey(getenv('tykbhphgw8wvmzck'));
Braintree\Configuration::privateKey(getenv('01b2cbe5fee0950065f7cd9db3ed4992'));

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
459 B lrwxrwxr-x 2023-11-07 19:59:46
Edit Download
403 B lrwxrwxr-x 2023-11-07 19:59:46
Edit Download
952 B lrwxrwxr-x 2023-11-07 19:59:46
Edit Download

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