mirror of
https://github.com/projectsend/projectsend.git
synced 2026-09-12 06:48:55 +00:00
6e47d76ba6
Client file sharing, rebuilt from the ground up: a private area per client, resumable uploads, folders, groups and categories, sharing with expiry dates and download limits, comments, file versions, an activity log, a REST API, and sixteen languages. This repository begins here. ProjectSend 2 was developed privately, and that development history is not published — the previous generation remains available, with its own history, at projectsend/legacy. Free software under the GNU General Public License v2, or (at your option) any later version.
24 lines
788 B
PHP
24 lines
788 B
PHP
<?php
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
// Determine if the application is in maintenance mode...
|
|
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
|
|
require $maintenance;
|
|
}
|
|
|
|
// Refuse to start with a clear message — rather than a stack trace or a bare
|
|
// 500 — when the environment has never been configured. Runs before the
|
|
// autoloader and the framework, on purpose: it must still work when those
|
|
// are among the things not yet in place.
|
|
require __DIR__.'/../bootstrap/preflight.php';
|
|
|
|
// Register the Composer autoloader...
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
|
|
// Bootstrap Laravel and handle the request...
|
|
(require_once __DIR__.'/../bootstrap/app.php')
|
|
->handleRequest(Request::capture());
|