summaryrefslogtreecommitdiff
path: root/public/index.php
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/index.php
initial commit
Diffstat (limited to 'public/index.php')
-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();