- 基础环境:Docker 部署配置,源码挂载实时同步 - 修复:super_admin 权限补全、登录重定向循环 - 开发:店铺营销账户账单 - 抖音账户(15字段汇总账单) - 开发:店铺营销账户账单 - 淘系支付宝账户(8字段流水账单) - 开发:店铺营销账户账单 - 拼多多账户(7字段流水账单) - 业务页面导航集成:config/business_navigation.php + Business\Pages 控制器 - 各平台独立表结构和视图,互不影响
39 lines
880 B
PHP
39 lines
880 B
PHP
<?php
|
|
|
|
/**
|
|
* @package Akaunting
|
|
* @copyright 2017-2023 Akaunting. All rights reserved.
|
|
* @license BSL; see LICENSE.txt
|
|
* @link https://akaunting.com
|
|
*/
|
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
if (PHP_SAPI === 'cli-server') {
|
|
$path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
|
|
|
|
if ($path && is_file(__DIR__ . $path)) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
// Check for maintenance
|
|
if (file_exists($maintenance = __DIR__ . '/storage/framework/maintenance.php')) {
|
|
require $maintenance;
|
|
}
|
|
|
|
// 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()
|
|
)->send();
|
|
|
|
$kernel->terminate($request, $response);
|