api.ampere/bootstrap.php

12 lines
202 B
PHP
Raw Permalink Normal View History

2022-12-29 22:25:38 +01:00
<?php
require 'vendor/autoload.php';
use Dotenv\Dotenv;
use Src\System\DatabaseConnector;
$dotenv = new DotEnv(__DIR__);
$dotenv->load();
$dbConnection = (new DatabaseConnector())->getConnection();