mirror of
https://github.com/bodyrep/bodyrep-sandpit.git
synced 2026-01-25 22:31:42 +00:00
Initial symfony commit
This commit is contained in:
13
sandbox/web/app_dev.php
Normal file
13
sandbox/web/app_dev.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
|
||||
require_once __DIR__.'/../app/AppKernel.php';
|
||||
require_once('/data/framework/lib/functions.php');
|
||||
$kernel = new AppKernel('dev', true);
|
||||
$kernel->loadClassCache();
|
||||
$request = Request::createFromGlobals();
|
||||
$response = $kernel->handle($request);
|
||||
$response->send();
|
||||
$kernel->terminate($request, $response);
|
||||
Reference in New Issue
Block a user