17 lines
391 B
PHP
17 lines
391 B
PHP
<?php
|
|
|
|
use Symfony\Component\Debug\Debug;
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
Debug::enable();
|
|
|
|
$kernel = new AppKernel('dev', true);
|
|
if (PHP_VERSION_ID < 70000) {
|
|
$kernel->loadClassCache();
|
|
}
|
|
$request = Request::createFromGlobals();
|
|
$response = $kernel->handle($request);
|
|
$response->send();
|
|
$kernel->terminate($request, $response);
|