File tree 6 files changed +30
-24
lines changed
6 files changed +30
-24
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ APP_SECRET=2ca64f8d83b9e89f5f19d672841d6bb8
26
26
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
27
27
#
28
28
DATABASE_URL = sqlite:///%kernel.project_dir%/data/database.sqlite
29
- # DATABASE_URL="mysql://db_user:db_password @127.0.0.1:3306/db_name ?serverVersion=5.7",
30
- # DATABASE_URL="postgresql://db_user:db_password @127.0.0.1:5432/db_name ?serverVersion=13 &charset=utf8"
29
+ # DATABASE_URL="mysql://app:!ChangeMe! @127.0.0.1:3306/app ?serverVersion=8&charset=utf8mb4"
30
+ # DATABASE_URL="postgresql://app:!ChangeMe! @127.0.0.1:5432/app ?serverVersion=15 &charset=utf8"
31
31
# ##< doctrine/doctrine-bundle ###
32
32
33
33
# ##> symfony/mailer ###
Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ doctrine:
4
4
5
5
# IMPORTANT: You MUST configure your server version,
6
6
# either here or in the DATABASE_URL env var (see .env file)
7
- # server_version: '14 '
7
+ # server_version: '15 '
8
8
orm :
9
9
auto_generate_proxy_classes : true
10
+ enable_lazy_ghost_objects : true
10
11
naming_strategy : doctrine.orm.naming_strategy.underscore_number_aware
11
12
auto_mapping : true
12
13
mappings :
@@ -27,6 +28,7 @@ when@prod:
27
28
doctrine :
28
29
orm :
29
30
auto_generate_proxy_classes : false
31
+ proxy_dir : ' %kernel.build_dir%/doctrine/orm/Proxies'
30
32
query_cache_driver :
31
33
type : pool
32
34
pool : doctrine.system_cache_pool
Original file line number Diff line number Diff line change @@ -25,20 +25,16 @@ webpack_encore:
25
25
26
26
# If you have multiple builds:
27
27
# builds:
28
- # pass "frontend" as the 3rg arg to the Twig functions
29
- # {{ encore_entry_script_tags('entry1', null, 'frontend') }}
30
-
31
28
# frontend: '%kernel.project_dir%/public/frontend/build'
32
29
33
- # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
34
- # Put in config/packages/prod/webpack_encore.yaml
35
- # cache: true
30
+ # pass the build name as the 3rd argument to the Twig functions
31
+ # {{ encore_entry_script_tags('entry1', null, 'frontend') }}
36
32
37
- # when@prod:
38
- # webpack_encore:
39
- # # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
40
- # # Available in version 1.2
41
- # cache: true
33
+ when@prod :
34
+ webpack_encore :
35
+ # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
36
+ # Available in version 1.2
37
+ cache : true
42
38
43
39
# when@test:
44
40
# webpack_encore:
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ DirectoryIndex index.php
18
18
</IfModule >
19
19
20
20
<IfModule mod_rewrite.c >
21
+ # This Option needs to be enabled for RewriteRule, otherwise it will show an error like
22
+ # 'Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden'
23
+ Options +FollowSymlinks
24
+
21
25
RewriteEngine On
22
26
23
27
# Determine the RewriteBase automatically and set it as environment variable.
Original file line number Diff line number Diff line change 33
33
"version": "v0.5.3"
34
34
},
35
35
"doctrine/doctrine-bundle": {
36
- "version": "2.7 ",
36
+ "version": "2.8 ",
37
37
"recipe": {
38
38
"repo": "github.com/symfony/recipes",
39
39
"branch": "main",
40
- "version": "2.4 ",
41
- "ref": "d562b46dd8075ab2de3d58bf7895cf6b8365cb72 "
40
+ "version": "2.8 ",
41
+ "ref": "6b43b7b6ff6bf2551f2933ebeb66721fa3db8fbc "
42
42
},
43
43
"files": [
44
44
"config/packages/doctrine.yaml",
153
153
"version": "1.0",
154
154
"recipe": {
155
155
"repo": "github.com/symfony/recipes-contrib",
156
- "branch": "master ",
156
+ "branch": "main ",
157
157
"version": "1.0",
158
- "ref": "9d254a22efca7264203eea98b866f16f944b2f09 "
158
+ "ref": "efb318193e48384eb5c5aadff15396ed698f8ffc "
159
159
},
160
160
"files": [
161
161
"public/.htaccess"
294
294
"repo": "github.com/symfony/recipes",
295
295
"branch": "main",
296
296
"version": "4.3",
297
- "ref": "97a61eabb351d7f6cb7702039bcfe07fe9d7e03c "
297
+ "ref": "2bf89438209656b85b9a49238c4467bff1b1f939 "
298
298
},
299
299
"files": [
300
300
"config/packages/mailer.yaml"
334
334
"version": "v6.0.0"
335
335
},
336
336
"symfony/phpunit-bridge": {
337
- "version": "5.4 ",
337
+ "version": "6.2 ",
338
338
"recipe": {
339
339
"repo": "github.com/symfony/recipes",
340
- "branch": "master ",
340
+ "branch": "main ",
341
341
"version": "5.3",
342
- "ref": "97cb3dc7b0f39c7cfc4b7553504c9d7b7795de96 "
342
+ "ref": "819d3d2ffa4590eba0b8f4f3e5e89415ee4e45c3 "
343
343
},
344
344
"files": [
345
345
".env.test",
505
505
"repo": "github.com/symfony/recipes",
506
506
"branch": "main",
507
507
"version": "1.10",
508
- "ref": "5878c7c28468ca0fdce2497a04cfc66bab0dc3ef "
508
+ "ref": "f8fc53f1942f76679e9ee3c25fd44865355707b5 "
509
509
},
510
510
"files": [
511
511
"assets/app.js",
Original file line number Diff line number Diff line change 18
18
} elseif (method_exists (Dotenv::class, 'bootEnv ' )) {
19
19
(new Dotenv ())->bootEnv (dirname (__DIR__ ).'/.env ' );
20
20
}
21
+
22
+ if ($ _SERVER ['APP_DEBUG ' ]) {
23
+ umask (0000 );
24
+ }
You can’t perform that action at this time.
0 commit comments