akaunting/index.php

26 lines
557 B
PHP
Raw Normal View History

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
2022-07-03 18:12:03 +03:00
* @copyright 2017-2022 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);