Initial commit - WASL Digital Wallet
This commit is contained in:
28
Backend/public/index.php
Normal file
28
Backend/public/index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* |--------------------------------------------------------------------------
|
||||
* | Public entry point for WASL API
|
||||
* |--------------------------------------------------------------------------
|
||||
* | Served by nginx (or Octane directly). For Octane, this file is only used
|
||||
* | during non-Octane requests / artisan.
|
||||
*/
|
||||
|
||||
define('LARAVL_START', microtime(true));
|
||||
|
||||
// Determine if running via Octane — Octane bypasses this file entirely,
|
||||
// but we keep it for standard php-fpm fallback.
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
$app = require_once __DIR__.'/../bootstrap/app.php';
|
||||
|
||||
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
|
||||
|
||||
$response = $kernel->handle(
|
||||
$request = Illuminate\Http\Request::capture()
|
||||
);
|
||||
|
||||
$response->send();
|
||||
|
||||
$kernel->terminate($request, $response);
|
||||
2
Backend/public/robots.txt
Normal file
2
Backend/public/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-Agent: *
|
||||
Disallow: /
|
||||
Reference in New Issue
Block a user