diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/web/app.php b/web/app.php index 5c5ee03b..4c2c4650 100644 --- a/web/app.php +++ b/web/app.php | |||
@@ -8,16 +8,6 @@ use Symfony\Component\HttpFoundation\Request; | |||
8 | $loader = require __DIR__.'/../app/autoload.php'; | 8 | $loader = require __DIR__.'/../app/autoload.php'; |
9 | include_once __DIR__.'/../var/bootstrap.php.cache'; | 9 | include_once __DIR__.'/../var/bootstrap.php.cache'; |
10 | 10 | ||
11 | // Enable APC for autoloading to improve performance. | ||
12 | // You should change the ApcClassLoader first argument to a unique prefix | ||
13 | // in order to prevent cache key conflicts with other applications | ||
14 | // also using APC. | ||
15 | /* | ||
16 | $apcLoader = new Symfony\Component\ClassLoader\ApcClassLoader(sha1(__FILE__), $loader); | ||
17 | $loader->unregister(); | ||
18 | $apcLoader->register(true); | ||
19 | */ | ||
20 | |||
21 | $kernel = new AppKernel('prod', false); | 11 | $kernel = new AppKernel('prod', false); |
22 | $kernel->loadClassCache(); | 12 | $kernel->loadClassCache(); |
23 | //$kernel = new AppCache($kernel); | 13 | //$kernel = new AppCache($kernel); |