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

cookbook/configuration/apache_router.rst

Lines changed: 1 addition & 1 deletion
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

cookbook/configuration/override_dir_structure.rst

Lines changed: 1 addition & 2 deletions
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:

cookbook/debugging.rst

Lines changed: 6 additions & 7 deletions
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();

cookbook/workflow/new_project_svn.rst

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy