Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 43b3c14

Browse files
committed
Unregister initial loader when using ApcClassLoader
1 parent a8c9d2d commit 43b3c14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/app.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
// Change 'sf2' to a unique prefix in order to prevent cache key conflicts
1010
// with other applications also using APC.
1111
/*
12-
$loader = new ApcClassLoader('sf2', $loader);
13-
$loader->register(true);
12+
$apcLoader = new ApcClassLoader('sf2', $loader);
13+
$loader->unregister();
14+
$apcLoader->register(true);
1415
*/
1516

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

0 commit comments

Comments
 (0)