8 lines
448 B
PHP
8 lines
448 B
PHP
<?php
|
|
$loader = require dirname(__DIR__,2).'/vendor/autoload.php';
|
|
$prefixes = $loader->getPrefixesPsr4();
|
|
$appDirectories = array_map('realpath', $prefixes['App\\'] ?? []);
|
|
echo json_encode(['autoload_authoritative' => $loader->isClassMapAuthoritative(),
|
|
'app_psr4_points_to_active_app' => in_array(realpath(dirname(__DIR__,2).'/app'), $appDirectories, true),
|
|
'database_bootstrapped' => false, 'active_writes' => 0], JSON_THROW_ON_ERROR);
|