File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- require_once __DIR__ .'/AppKernel.php ' ;
4
-
5
3
use Symfony \Bundle \FrameworkBundle \HttpCache \HttpCache ;
6
4
7
5
class AppCache extends HttpCache
Original file line number Diff line number Diff line change 4
4
5
5
$ loader = require __DIR__ .'/../app/autoload.php ' ;
6
6
7
- require_once __DIR__ .'/../app/AppKernel .php ' ;
7
+ include_once __DIR__ .'/../var/bootstrap .php.cache ' ;
8
8
9
9
$ kernel = new AppKernel ('prod ' , false );
10
10
$ kernel ->loadClassCache ();
Original file line number Diff line number Diff line change 13
13
$ loader = require __DIR__ .'/../app/autoload.php ' ;
14
14
Debug::enable ();
15
15
16
- require_once __DIR__ .'/../app/AppKernel.php ' ;
17
-
18
16
$ kernel = new AppKernel ('dev ' , true );
19
17
$ kernel ->loadClassCache ();
20
18
$ request = Request::createFromGlobals ();
You can’t perform that action at this time.
0 commit comments