Files
Leantime/public/index.php
wangruiguo d647428529
Some checks failed
Security Audit / Composer Security Audit (push) Has been cancelled
Security Audit / NPM Security Audit (push) Has been cancelled
Security Audit / CodeQL Analysis (push) Has been cancelled
OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
2026-09-03 18:49:20 +08:00

21 lines
626 B
PHP

<?php
define('RESTRICTED', true);
define('LEANTIME_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
/* Load Leantime helper functions before laravel */
require __DIR__.'/../app/helpers.php';
require __DIR__.'/../vendor/autoload.php';
// Get the application once.
// Loads everything up once and then let's the bootloader manage it
$app = require_once __DIR__.'/../bootstrap/app.php';
// Pass app into leantime bootloader
\Leantime\Core\Bootloader::getInstance()->boot($app);