mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-11 17:51:02 +00:00
Update bundle & stock file
- update stock file (AppKernel, app.php, etc ..) from SymfonyStandard edition) - update bundle to latest release - remove security on profiler
This commit is contained in:
parent
619cc45359
commit
5c895a7fd1
28 changed files with 208 additions and 203 deletions
12
web/app.php
12
web/app.php
|
@ -1,23 +1,23 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\ClassLoader\ApcClassLoader;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
|
||||
/**
|
||||
* @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 ApcClassLoader(sha1(__FILE__), $loader);
|
||||
$apcLoader = new Symfony\Component\ClassLoader\ApcClassLoader(sha1(__FILE__), $loader);
|
||||
$loader->unregister();
|
||||
$apcLoader->register(true);
|
||||
*/
|
||||
|
||||
require_once __DIR__.'/../app/AppKernel.php';
|
||||
//require_once __DIR__.'/../app/AppCache.php';
|
||||
|
||||
$kernel = new AppKernel('prod', false);
|
||||
$kernel->loadClassCache();
|
||||
//$kernel = new AppCache($kernel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue