Skip to content

Commit 9439e41

Browse files
committed
Merge branch '3.2'
* 3.2: [#6937] A few small tweaks! Porting #6937 back to 2.7 Remove yourself word in acl doc page %kernel.root_dir%/app/data/data.sqlite -> %kernel.root_dir%/data/data.sqlite Fix sample sqlite database path in doctrine config Fix sample sqlite database path in doctrine config Fixed code example wrong prepend() method declaration
2 parents 84e8bb1 + 9b1e819 commit 9439e41

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

performance.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ higher limit with the `opcache.max_accelerated_files`_ configuration option:
6464
; php.ini
6565
opcache.max_accelerated_files = 20000
6666
67-
.. index::
68-
single: Performance; Autoloader
69-
7067
Configure the PHP realpath Cache
7168
--------------------------------
7269

@@ -86,6 +83,9 @@ value too using the ``realpath_cache_ttl`` option:
8683
realpath_cache_size=4096K
8784
realpath_cache_ttl=600
8885
86+
.. index::
87+
single: Performance; Autoloader
88+
8989
Use Composer's Class Map Functionality
9090
--------------------------------------
9191

@@ -105,7 +105,7 @@ in ``vendor/composer/autoload_classmap.php``.
105105
The class map can be generated from the command line, and might become part of
106106
your deploy process:
107107

108-
.. code-block:: terminal
108+
.. code-block:: bash
109109
110110
$ composer dump-autoload --optimize --no-dev --classmap-authoritative
111111

reference/configuration/doctrine.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Full Default Configuration
203203
password="secret"
204204
driver="pdo_mysql"
205205
driver-class="MyNamespace\MyDriverImpl"
206-
path="%kernel.data_dir%/data.sqlite"
206+
path="%kernel.root_dir%/../var/data/data.sqlite"
207207
memory="true"
208208
unix-socket="/tmp/mysql.sock"
209209
wrapper-class="MyDoctrineDbalConnectionWrapper"
@@ -395,7 +395,7 @@ The following block shows all possible configuration keys:
395395
# the DBAL driverOptions option
396396
options:
397397
foo: bar
398-
path: '%kernel.data_dir%/data.sqlite'
398+
path: '%kernel.root_dir%/data/data.sqlite'
399399
memory: true
400400
unix_socket: /tmp/mysql.sock
401401
# the DBAL wrapperClass option
@@ -431,7 +431,7 @@ The following block shows all possible configuration keys:
431431
password="secret"
432432
driver="pdo_mysql"
433433
driver-class="MyNamespace\MyDriverImpl"
434-
path="%kernel.data_dir%/data.sqlite"
434+
path="%kernel.root_dir%/../var/data/data.sqlite"
435435
memory="true"
436436
unix-socket="/tmp/mysql.sock"
437437
wrapper-class="MyDoctrineDbalConnectionWrapper"

security/acl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ the ACL system comes in.
2222

2323
Imagine you are designing a blog system where your users can comment on your
2424
posts. Now, you want a user to be able to edit their own comments, but not those
25-
of other users; besides, you yourself want to be able to edit all comments. In
25+
of other users; besides, you want to be able to edit all comments. In
2626
this scenario, ``Comment`` would be the domain object that you want to
2727
restrict access to. You could take several approaches to accomplish this using
2828
Symfony, two basic approaches are (non-exhaustive):

0 commit comments

Comments
 (0)