Version produccion
This commit is contained in:
4
public/.htaccess
Normal file
4
public/.htaccess
Normal file
@ -0,0 +1,4 @@
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^ index.php [QSA,L]
|
4
public/api/.htaccess
Normal file
4
public/api/.htaccess
Normal file
@ -0,0 +1,4 @@
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^ index.php [QSA,L]
|
8
public/api/index.php
Normal file
8
public/api/index.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$__environment = 'api';
|
||||
include_once implode(DIRECTORY_SEPARATOR, [
|
||||
dirname(__DIR__, 2),
|
||||
'bootstrap',
|
||||
'app.php'
|
||||
]);
|
||||
$app->run();
|
8
public/index.php
Normal file
8
public/index.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$__environment = 'web';
|
||||
include_once implode(DIRECTORY_SEPARATOR, [
|
||||
dirname(__DIR__),
|
||||
'bootstrap',
|
||||
'app.php'
|
||||
]);
|
||||
$app->run();
|
Reference in New Issue
Block a user