@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Contracts\Console\Kernel;
|
||||
use Tempo\Finance\Budget\BudgetControl;
|
||||
|
||||
// No database access or business commands: exercise the host's actual pre-load verification.
|
||||
require dirname(__DIR__, 2).'/vendor/autoload.php';
|
||||
$app = require dirname(__DIR__, 2).'/bootstrap/app.php';
|
||||
try {
|
||||
$app->make(Kernel::class)->bootstrap();
|
||||
} catch (Throwable $error) {
|
||||
fwrite(STDERR, $error->getMessage().PHP_EOL);
|
||||
exit(1);
|
||||
}
|
||||
echo json_encode(['runtime' => realpath((new ReflectionClass(BudgetControl::class))->getFileName())], JSON_THROW_ON_ERROR).PHP_EOL;
|
||||
Reference in New Issue
Block a user