Fixed autoloading of AppKernel.php. See https://github.com/symfony/symfony-standard/issues/868
This commit is contained in:
parent
700429032d
commit
72cc28ca7e
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
|
||||
require_once __DIR__.'/AppKernel.php';
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
|
||||
|
||||
class AppCache extends HttpCache
|
||||
|
|
|
@ -24,10 +24,6 @@ if ($debug) {
|
|||
Debug::enable();
|
||||
}
|
||||
|
||||
// Hacking strange bug after update
|
||||
// @todo remove on update
|
||||
require_once __DIR__.'/AppKernel.php';
|
||||
|
||||
$kernel = new AppKernel($env, $debug);
|
||||
$application = new Application($kernel);
|
||||
$application->run($input);
|
||||
|
|
|
@ -24,10 +24,6 @@ if (isset($_SERVER['HTTP_CLIENT_IP'])
|
|||
$loader = require __DIR__.'/../app/autoload.php';
|
||||
Debug::enable();
|
||||
|
||||
// Hacking strange bug after update
|
||||
// @todo remove on update
|
||||
require_once __DIR__.'/../app/AppKernel.php';
|
||||
|
||||
$kernel = new AppKernel('dev', true);
|
||||
$kernel->loadClassCache();
|
||||
$request = Request::createFromGlobals();
|
||||
|
|
Loading…
Reference in a new issue