diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-09-24 13:40:25 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-09-24 13:40:25 +0200 |
commit | fa00b957378a393f8edbfc98ef111d35d18ecb09 (patch) | |
tree | 654e7dc5414f7f2795dbe996d3e1570793a5b1b8 /public |
initial commit
Diffstat (limited to 'public')
-rw-r--r-- | public/index.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..18edd19 --- /dev/null +++ b/public/index.php @@ -0,0 +1,11 @@ +<?php + +use App\App; +use Symfony\Component\Dotenv\Dotenv; + +require dirname(__DIR__) . '/vendor/autoload.php'; + +$dotenv = new Dotenv(); +$dotenv->load(dirname(__DIR__) . '/.env'); + +(new App())->run(); |