|
@@ -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();
|