2017-09-14 22:21:00 +03:00
|
|
|
<?php
|
2020-06-28 00:24:03 +03:00
|
|
|
|
2017-09-14 22:21:00 +03:00
|
|
|
/**
|
|
|
|
* @package Akaunting
|
2021-01-18 01:34:25 +03:00
|
|
|
* @copyright 2017-2021 Akaunting. All rights reserved.
|
2017-09-14 22:21:00 +03:00
|
|
|
* @license GNU GPL version 3; see LICENSE.txt
|
|
|
|
* @link https://akaunting.com
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Register the auto-loader
|
2020-06-28 00:24:03 +03:00
|
|
|
require(__DIR__ . '/bootstrap/autoload.php');
|
2017-09-14 22:21:00 +03:00
|
|
|
|
|
|
|
// Load the app
|
2020-06-28 00:24:03 +03:00
|
|
|
$app = require_once(__DIR__ . '/bootstrap/app.php');
|
2017-09-14 22:21:00 +03:00
|
|
|
|
|
|
|
// Run the app
|
|
|
|
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
|
|
|
|
|
|
|
|
$response = $kernel->handle(
|
|
|
|
$request = Illuminate\Http\Request::capture()
|
|
|
|
);
|
|
|
|
|
|
|
|
$response->send();
|
|
|
|
|
|
|
|
$kernel->terminate($request, $response);
|