Commit 52c03ca
committed
[TASK] Address review feedback on template overrides
- Remove mkdir -p /templates from Dockerfile: Docker creates mount
targets automatically when bind mounts are used, so the directory
only exists when someone intentionally mounts templates. This avoids
unnecessary filesystem lookups on every template resolution.
- Add is_readable() checks alongside is_dir() for defensive robustness
against permission issues.
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>1 parent 8c56472 commit 52c03ca
File tree
2 files changed
+2
-4
lines changed- packages/typo3-docs-theme/src/DependencyInjection
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments