![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/Corals/modules/Payment/Braintree/lib/ |
<?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, '5.4.0', '<')) { throw new Braintree_Exception('PHP version >= 5.4.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(trans('Braintree::exception.braintree_library_requires_extension', ['name' => $ext])); } } } } Braintree::requireDependencies();