First commit
This commit is contained in:
10
public/index.php
Normal file
10
public/index.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
const ROOT_PATH = __DIR__ . '/../';
|
||||
|
||||
use KamilCraftApi\Application;
|
||||
|
||||
require ROOT_PATH . 'vendor/autoload.php';
|
||||
|
||||
$app = new Application(ROOT_PATH . '.env');
|
||||
$app->run();
|
Reference in New Issue
Block a user