2014-11-06 02:44:52 +03:00
|
|
|
<?php
|
|
|
|
|
2023-06-21 12:57:37 +03:00
|
|
|
use Symfony\Component\Dotenv\Dotenv;
|
|
|
|
|
2018-01-10 11:35:57 +03:00
|
|
|
if (function_exists('date_default_timezone_set')
|
|
|
|
&& function_exists('date_default_timezone_get')
|
|
|
|
) {
|
2018-02-20 17:50:45 +03:00
|
|
|
date_default_timezone_set(date_default_timezone_get());
|
2018-01-10 11:35:57 +03:00
|
|
|
}
|
|
|
|
|
2023-06-21 12:57:37 +03:00
|
|
|
if (class_exists(Dotenv::class) and file_exists(__DIR__.'/.env')) {
|
|
|
|
(new Dotenv())->load(__DIR__.'/.env');
|
|
|
|
}
|
|
|
|
|
2018-01-10 11:35:57 +03:00
|
|
|
$loader = include dirname(__DIR__) . '/vendor/autoload.php';
|
2014-11-06 02:44:52 +03:00
|
|
|
$loader->add('RetailCrm\\Test', __DIR__);
|