16 lines
311 B
PHP
16 lines
311 B
PHP
<?php
|
|
// public/index.php
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
|
|
use App\Application;
|
|
use Dotenv\Dotenv;
|
|
|
|
// Load environment variables
|
|
$dotenv = Dotenv::createImmutable(__DIR__ . '/../');
|
|
$dotenv->load();
|
|
|
|
// Initialize the application
|
|
$app = new Application();
|
|
|
|
// Run the application
|
|
$app->run(); |