X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=web%2Fapp.php;h=3427e133e6ad89ff87f319e2b081b3b6c08278e4;hb=e014fa0395ae5a6b6914c5a06f0856bd7cc06959;hp=5c5ee03be180d6fbf52634d103154661f7b22903;hpb=73cd160bfc6e4a1b88f2117eb0c097a91ac5c753;p=github%2Fwallabag%2Fwallabag.git diff --git a/web/app.php b/web/app.php index 5c5ee03b..3427e133 100644 --- a/web/app.php +++ b/web/app.php @@ -2,24 +2,9 @@ use Symfony\Component\HttpFoundation\Request; -/** - * @var Composer\Autoload\ClassLoader - */ -$loader = require __DIR__.'/../app/autoload.php'; -include_once __DIR__.'/../var/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); -*/ +require __DIR__.'/../vendor/autoload.php'; $kernel = new AppKernel('prod', false); -$kernel->loadClassCache(); //$kernel = new AppCache($kernel); // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter