1
0
mirror of synced 2024-11-28 07:46:01 +03:00
aliexpress-top-client/tests/bootstrap.php

16 lines
406 B
PHP
Raw Normal View History

2020-09-25 18:06:41 +03:00
<?php
if (function_exists('date_default_timezone_set')
&& function_exists('date_default_timezone_get')
) {
date_default_timezone_set(date_default_timezone_get());
}
$loader = include dirname(__DIR__) . '/vendor/autoload.php';
$loader->add('RetailCrm\\Test', __DIR__);
2020-09-29 16:44:13 +03:00
if (file_exists(__DIR__ . '/../.env')) {
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__ . '/..');
$dotenv->load();
}