mirror of
https://github.com/win32service/Win32ServiceBundle.git
synced 2026-04-25 09:48:01 +02:00
14 lines
364 B
PHP
14 lines
364 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symfony\Component\Dotenv\Dotenv;
|
|
|
|
require \dirname(__DIR__).'/vendor/autoload.php';
|
|
|
|
if (file_exists(__DIR__.'/Application/config/bootstrap.php')) {
|
|
require __DIR__.'/Application/config/bootstrap.php';
|
|
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
|
|
(new Dotenv())->bootEnv(__DIR__.'/Application/.env', 'test');
|
|
}
|