Public folder

This commit is contained in:
2020-12-15 17:45:02 -03:00
parent 0d8aee20da
commit 559d287a3d
2 changed files with 13 additions and 0 deletions

4
public/.htaccess Normal file
View File

@ -0,0 +1,4 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

9
public/index.php Normal file
View File

@ -0,0 +1,9 @@
<?php
$__environment = 'web';
include_once implode(DIRECTORY_SEPARATOR, [
dirname(__DIR__),
'setup',
'app.php'
]);
$app->run();