mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-14 05:55:54 +00:00
wip
This commit is contained in:
10
expose
10
expose
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use function Clue\React\SQLite\runWorker;
|
||||
|
||||
define('LARAVEL_START', microtime(true));
|
||||
|
||||
/*
|
||||
@@ -17,6 +19,14 @@ define('LARAVEL_START', microtime(true));
|
||||
|
||||
$autoloader = require file_exists(__DIR__.'/vendor/autoload.php') ? __DIR__.'/vendor/autoload.php' : __DIR__.'/../../autoload.php';
|
||||
|
||||
$options = getopt(null, [
|
||||
'sqlite-worker',
|
||||
]);
|
||||
if (isset($options['sqlite-worker'])) {
|
||||
runWorker($_SERVER['argv'][2] ?? null);
|
||||
exit;
|
||||
}
|
||||
|
||||
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user