diff --git a/web/app.php b/web/app.php index b70e120d35..336e655a14 100644 --- a/web/app.php +++ b/web/app.php @@ -9,8 +9,9 @@ // 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); +$apcLoader = new ApcClassLoader('sf2', $loader); +$loader->unregister(); +$apcLoader->register(true); */ require_once __DIR__.'/../app/AppKernel.php';