X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=web%2Fapp.php;h=4c2c4650e167688724cd7e79b1735b80c2a8de96;hb=0452e869ec0e3d336337f815da346346c860d914;hp=cc2fefb5569907bfc85267e78cb67e43f15721e4;hpb=5c895a7fd15822856fb407910264c5d95e1e223c;p=github%2Fwallabag%2Fwallabag.git diff --git a/web/app.php b/web/app.php index cc2fefb5..4c2c4650 100644 --- a/web/app.php +++ b/web/app.php @@ -6,17 +6,7 @@ use Symfony\Component\HttpFoundation\Request; * @var Composer\Autoload\ClassLoader */ $loader = require __DIR__.'/../app/autoload.php'; -include_once __DIR__.'/../app/bootstrap.php.cache'; - -// Enable APC for autoloading to improve performance. -// You should change the ApcClassLoader first argument to a unique prefix -// in order to prevent cache key conflicts with other applications -// also using APC. -/* -$apcLoader = new Symfony\Component\ClassLoader\ApcClassLoader(sha1(__FILE__), $loader); -$loader->unregister(); -$apcLoader->register(true); -*/ +include_once __DIR__.'/../var/bootstrap.php.cache'; $kernel = new AppKernel('prod', false); $kernel->loadClassCache();