加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.php 795 Bytes
一键复制 编辑 原始数据 按行查看 历史
denisdulici 提交于 2019-11-16 10:21 . v2 first commit
<?php
/**
* @package Akaunting
* @copyright 2017-2019 Akaunting. All rights reserved.
* @license GNU GPL version 3; see LICENSE.txt
* @link https://akaunting.com
*/
// Define minimum supported PHP version
define('AKAUNTING_PHP', '7.2.0');
// Check PHP version
if (version_compare(PHP_VERSION, AKAUNTING_PHP, '<')) {
die('Your host needs to use PHP ' . AKAUNTING_PHP . ' or higher to run Akaunting');
}
// Register the auto-loader
require(__DIR__.'/bootstrap/autoload.php');
// Load the app
$app = require_once(__DIR__.'/bootstrap/app.php');
// 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);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化