diff options
| author | Daniel Weipert <git@mail.dweipert.de> | 2026-02-19 14:52:15 +0100 |
|---|---|---|
| committer | Daniel Weipert <git@mail.dweipert.de> | 2026-02-19 14:52:15 +0100 |
| commit | aa908ab7bd03818a2cb1f9b4686034f08736d1cb (patch) | |
| tree | d677fece0783b9ffe629ef881d1913df23b11f8b /public | |
Diffstat (limited to 'public')
| -rw-r--r-- | public/.htaccess | 9 | ||||
| -rw-r--r-- | public/index.php | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..e6b560b --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,9 @@ +RewriteEngine on + +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_URI} (.+)/$ +RewriteRule ^ %1 [R,L] + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^.*$ /index.php [L,QSA] diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..280269e --- /dev/null +++ b/public/index.php @@ -0,0 +1,5 @@ +<?php + +require_once dirname(__DIR__) . "/vendor/autoload.php"; + +(new \ERPHP\ERPHP())->run(); |
