summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-09-24 13:40:25 +0200
committerDaniel Weipert <code@drogueronin.de>2023-09-24 13:40:25 +0200
commitfa00b957378a393f8edbfc98ef111d35d18ecb09 (patch)
tree654e7dc5414f7f2795dbe996d3e1570793a5b1b8 /public
initial commit
Diffstat (limited to 'public')
-rw-r--r--public/index.php11
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();