Skip to content

Commit af7052b

Browse files
committed
app/bootstrap.php.cache -> var/bootstrap.php.cache
1 parent 6614c0f commit af7052b

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

Diff for: cookbook/configuration/apache_router.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ to ``ApacheRequest`` in ``web/app.php``::
145145

146146
// web/app.php
147147

148-
require_once __DIR__.'/../app/bootstrap.php.cache';
148+
require_once __DIR__.'/../var/bootstrap.php.cache';
149149
require_once __DIR__.'/../app/AppKernel.php';
150150
// require_once __DIR__.'/../app/AppCache.php';
151151

Diff for: cookbook/configuration/override_dir_structure.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ in your ``app.php`` and ``app_dev.php`` front controllers. If you simply
9191
renamed the directory, you're fine. But if you moved it in some way, you
9292
may need to modify these paths inside those files::
9393

94-
require_once __DIR__.'/../Symfony/app/bootstrap.php.cache';
95-
require_once __DIR__.'/../Symfony/app/AppKernel.php';
94+
require_once __DIR__.'/../Symfony/var/bootstrap.php.cache';
9695

9796
You also need to change the ``extra.symfony-web-dir`` option in the ``composer.json``
9897
file:

Diff for: cookbook/debugging.rst

+6-7
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,21 @@ The ``app_dev.php`` front controller reads as follows by default::
3030

3131
// ...
3232

33-
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
34-
require_once __DIR__.'/../app/AppKernel.php';
33+
$loader = require __DIR__.'/../app/autoload.php';
34+
Debug::enable();
3535

3636
$kernel = new AppKernel('dev', true);
3737
$kernel->loadClassCache();
3838
$request = Request::createFromGlobals();
39+
// ...
3940

40-
To make your debugger happier, disable all PHP class caches by removing the
41-
call to ``loadClassCache()`` and by replacing the require statements like
42-
below::
41+
To make your debugger happier, disable all PHP class caches by removing (or
42+
commenting) the call to ``loadClassCache()``::
4343

4444
// ...
4545

46-
// $loader = require_once __DIR__.'/../app/bootstrap.php.cache';
4746
$loader = require_once __DIR__.'/../app/autoload.php';
48-
require_once __DIR__.'/../app/AppKernel.php';
47+
Debug::enable();
4948

5049
$kernel = new AppKernel('dev', true);
5150
// $kernel->loadClassCache();

Diff for: cookbook/workflow/new_project_svn.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ with these steps:
7878
$ svn add --depth=empty app var/cache var/logs app/config web
7979
8080
$ svn propset svn:ignore "vendor" .
81-
$ svn propset svn:ignore "bootstrap*" app/
81+
$ svn propset svn:ignore "bootstrap*" var/
8282
$ svn propset svn:ignore "parameters.yml" app/config/
8383
$ svn propset svn:ignore "*" var/cache/
8484
$ svn propset svn:ignore "*" var/logs/
8585
8686
$ svn propset svn:ignore "bundles" web
8787
88-
$ svn ci -m "commit basic Symfony ignore list (vendor, app/bootstrap*, app/config/parameters.yml, var/cache/*, var/logs/*, web/bundles)"
88+
$ svn ci -m "commit basic Symfony ignore list (vendor, var/bootstrap*, app/config/parameters.yml, var/cache/*, var/logs/*, web/bundles)"
8989
9090
#. The rest of the files can now be added and committed to the project:
9191

0 commit comments

Comments
 (0)