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
|
|
|
|
*/
|
|
|
|
|
2022-07-10 00:19:28 +03:00
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
|
|
|
|
// Check for maintenance
|
|
|
|
if (file_exists($maintenance = __DIR__ . '/storage/framework/maintenance.php')) {
|
|
|
|
require $maintenance;
|
|
|
|
}
|
|
|
|
|
2017-09-14 22:21:00 +03:00
|
|
|
// Register the auto-loader
|
2022-07-10 00:19:28 +03:00
|
|
|
require __DIR__ . '/bootstrap/autoload.php';
|
2017-09-14 22:21:00 +03:00
|
|
|
|
|
|
|
// Load the app
|
2022-07-10 00:19:28 +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()
|
2022-07-10 00:19:28 +03:00
|
|
|
)->send();
|
2017-09-14 22:21:00 +03:00
|
|
|
|
|
|
|
$kernel->terminate($request, $response);
|