fix vendor autoload loading

This commit is contained in:
Dennis Eichhorn 2023-10-01 15:52:46 +00:00
parent 48de45149b
commit 39a55a590b

View File

@ -7,7 +7,10 @@ declare(strict_types=1);
\error_reporting(\E_ALL);
\setlocale(\LC_ALL, 'en_US.UTF-8');
if (\is_file(__DIR__ . '/../vendor/autoload.php')) {
require_once __DIR__ . '/../vendor/autoload.php';
}
require_once __DIR__ . '/Autoloader.php';
use phpOMS\DataStorage\Database\DatabasePool;