Skip to content

Commit

Permalink
Merge pull request #283 from PROCERGS/issue#802
Browse files Browse the repository at this point in the history
app.php cleaned up
  • Loading branch information
guilhermednt authored Aug 3, 2018
2 parents 407df2c + acf6a6e commit 777f3fd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions web/app.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php

use Symfony\Component\ClassLoader\ApcClassLoader;
use Symfony\Component\HttpFoundation\Request;
use LoginCidadao\CoreBundle\Security\Compatibility\RamseyUuidFeatureSet;

$loader = require_once __DIR__.'/../app/bootstrap.php.cache';

// Use APC for autoloading to improve performance.
// Change 'sf2' to a unique prefix in order to prevent cache key conflicts
// with other applications also using APC.
/*
$loader = new ApcClassLoader('sf2', $loader);
$loader->register(true);
*/

require_once __DIR__.'/../app/AppKernel.php';
//require_once __DIR__.'/../app/AppCache.php';

$kernel = new AppKernel('prod', false);

Expand All @@ -25,7 +15,6 @@
$stack = new \Qandidate\Stack\RequestId($kernel, $generator);

$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
$request = Request::createFromGlobals();

// This line is required after Symfony 2.8.44
Expand Down

0 comments on commit 777f3fd

Please sign in to comment.