/
home
/
techb158
/
ileadtechnology.com
/
vendor
/
braintree
/
braintree_php
/
lib
/
/home/techb158/ileadtechnology.com/vendor/braintree/braintree_php/lib
mkdir
upload
Name
Size
Mode
Actions
Braintree/
-
0755
rm
ssl/
-
0755
rm
autoload.php
587
0644
edit
dl
rm
Braintree.php
713
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/vendor/braintree/braintree_php/lib/Braintree.php
(713B)
<?php /** * Braintree PHP Library * Creates class_aliases for old class names replaced by PSR-4 Namespaces */ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'autoload.php'); if (version_compare(PHP_VERSION, '7.2.0', '<')) { throw new Braintree_Exception('PHP version >= 7.2.0 required'); } class Braintree { public static function requireDependencies() { $requiredExtensions = ['xmlwriter', 'openssl', 'dom', 'hash', 'curl']; foreach ($requiredExtensions AS $ext) { if (!extension_loaded($ext)) { throw new Braintree_Exception('The Braintree library requires the ' . $ext . ' extension.'); } } } } Braintree::requireDependencies();
Save
cmd:
run