1
0
mirror of synced 2024-11-21 21:06:07 +03:00
api-client-php/tests/bootstrap.php
2023-06-21 12:57:37 +03:00

17 lines
430 B
PHP

<?php
use Symfony\Component\Dotenv\Dotenv;
if (function_exists('date_default_timezone_set')
&& function_exists('date_default_timezone_get')
) {
date_default_timezone_set(date_default_timezone_get());
}
if (class_exists(Dotenv::class) and file_exists(__DIR__.'/.env')) {
(new Dotenv())->load(__DIR__.'/.env');
}
$loader = include dirname(__DIR__) . '/vendor/autoload.php';
$loader->add('RetailCrm\\Test', __DIR__);