Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb3da3b7

Browse files
committed
app/cache -> var/cache
1 parentb6d93f0 commitb3da3b7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

‎cookbook/configuration/environments.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,13 @@ Symfony takes advantage of caching in many ways: the application configuration,
342342
routing configuration, Twig templates and more are cached to PHP objects
343343
stored in files on the filesystem.
344344

345-
By default, these cached files are largely stored in the ``app/cache`` directory.
345+
By default, these cached files are largely stored in the ``var/cache`` directory.
346346
However, each environment caches its own set of files:
347347

348348
..code-block::text
349349
350350
<your-project>/
351-
├─app/
351+
├─var/
352352
│ ├─ cache/
353353
│ │ ├─ dev/ # cache directory for the *dev* environment
354354
│ │ └─ prod/ # cache directory for the *prod* environment
@@ -357,7 +357,7 @@ However, each environment caches its own set of files:
357357
Sometimes, when debugging, it may be helpful to inspect a cached file to
358358
understand how something is working. When doing so, remember to look in
359359
the directory of the environment you're using (most commonly ``dev`` while
360-
developing and debugging). While it can vary, the ``app/cache/dev`` directory
360+
developing and debugging). While it can vary, the ``var/cache/dev`` directory
361361
includes the following:
362362

363363
``appDevDebugProjectContainer.php``

‎cookbook/deployment/azure-website.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,10 @@ directory with at least the following contents:
260260
..code-block::text
261261
262262
/app/bootstrap.php.cache
263-
/app/cache/*
263+
/var/cache/*
264264
/app/config/parameters.yml
265265
/app/logs/*
266-
!app/cache/.gitkeep
266+
!var/cache/.gitkeep
267267
!app/logs/.gitkeep
268268
/app/SymfonyRequirements.php
269269
/build/

‎cookbook/deployment/platformsh.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Platform.sh how to deploy your application (read more about
6262
6363
# The mounts that will be performed when the package is deployed.
6464
mounts:
65-
"/app/cache":"shared:files/cache"
65+
"/var/cache":"shared:files/cache"
6666
"/app/logs":"shared:files/logs"
6767
6868
# The hooks that will be performed when the package is deployed.

‎cookbook/workflow/new_project_svn.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ with these steps:
7575
..code-block::bash
7676
7777
$cd myproject/
78-
$ svn add --depth=empty appapp/cache app/logs app/config web
78+
$ svn add --depth=empty appvar/cache app/logs app/config web
7979
8080
$ svn propset svn:ignore"vendor".
8181
$ svn propset svn:ignore"bootstrap*" app/
8282
$ svn propset svn:ignore"parameters.yml" app/config/
83-
$ svn propset svn:ignore"*"app/cache/
83+
$ svn propset svn:ignore"*"var/cache/
8484
$ svn propset svn:ignore"*" app/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,app/cache/*, app/logs/*, web/bundles)"
88+
$ svn ci -m"commit basic Symfony ignore list (vendor, app/bootstrap*, app/config/parameters.yml,var/cache/*, app/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)

[8]ページ先頭

©2009-2025 Movatter.jp