diff options
Diffstat (limited to 'services/app/public')
| -rw-r--r-- | services/app/public/.htaccess | 5 | ||||
| -rw-r--r-- | services/app/public/index.php | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/services/app/public/.htaccess b/services/app/public/.htaccess new file mode 100644 index 0000000..8661356 --- /dev/null +++ b/services/app/public/.htaccess @@ -0,0 +1,5 @@ +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^ index.php [QSA,L] diff --git a/services/app/public/index.php b/services/app/public/index.php new file mode 100644 index 0000000..4461970 --- /dev/null +++ b/services/app/public/index.php @@ -0,0 +1,10 @@ +<?php + +declare(strict_types=1); + +require __DIR__ . '/../vendor/autoload.php'; + +use Nsfisis\Albatross\App; +use Nsfisis\Albatross\Config; + +(new App(Config::fromEnvVars()))->run(); |
