Browse Source

Remove usage of apc class loader

Jordi Boggiano 8 years ago
parent
commit
becd028d1b
1 changed files with 0 additions and 8 deletions
  1. 0 8
      web/app.php

+ 0 - 8
web/app.php

@@ -2,7 +2,6 @@
 
 ini_set('date.timezone', 'UTC');
 
-use Symfony\Component\ClassLoader\ApcClassLoader;
 use Symfony\Component\HttpFoundation\Request;
 
 /**
@@ -11,13 +10,6 @@ use Symfony\Component\HttpFoundation\Request;
 $loader = require __DIR__.'/../app/autoload.php';
 include_once __DIR__.'/../app/bootstrap.php.cache';
 
-// Use APC for autoloading to improve performance.
-if (function_exists('apc_store')) {
-    $apcLoader = new ApcClassLoader(sha1(__FILE__), $loader);
-    $loader->unregister();
-    $apcLoader->register(true);
-}
-
 $kernel = new AppKernel('prod', false);
 $kernel->loadClassCache();
 $request = Request::createFromGlobals();