You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add trailing slashes to directory references (#8170)
* Add trailing slashes to directory references in backticks
Follow-up to #8169 - consistently use trailing `/` for directory
path references (e.g. `src/`, `webroot/`, `config/`) to distinguish
them from file references.
* Fix naming.
Copy file name to clipboardExpand all lines: docs/en/development/configuration.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,11 +97,11 @@ will be used if no environment variable exists for the given key.
97
97
Below is a description of the variables and how they affect your CakePHP
98
98
application.
99
99
100
-
debug
100
+
debug
101
101
Changes CakePHP debugging output. `false` = Production mode. No error
102
102
messages, errors, or warnings shown. `true` = Errors and warnings shown.
103
103
104
-
App.namespace
104
+
App.namespace
105
105
The namespace to find app classes under.
106
106
107
107
> [!NOTE]
@@ -112,29 +112,29 @@ The namespace to find app classes under.
112
112
113
113
<divid="core-configuration-baseurl">
114
114
115
-
App.baseUrl
115
+
App.baseUrl
116
116
Un-comment this definition if you **don’t** plan to use Apache’s
117
117
mod_rewrite with CakePHP. Don’t forget to remove your .htaccess
118
118
files too.
119
119
120
-
App.base
120
+
App.base
121
121
The base directory the app resides in. If `false` this
122
122
will be auto detected. If not `false`, ensure your string starts
123
123
with a <spanclass="title-ref">/</span> and does NOT end with a <spanclass="title-ref">/</span>. For example, <spanclass="title-ref">/basedir</span> is a valid
124
124
App.base.
125
125
126
-
App.encoding
126
+
App.encoding
127
127
Define what encoding your application uses. This encoding
128
128
is used to generate the charset in the layout, and encode entities.
129
129
It should match the encoding values specified for your database.
130
130
131
-
App.webroot
131
+
App.webroot
132
132
The webroot directory.
133
133
134
-
App.wwwRoot
134
+
App.wwwRoot
135
135
The file path to webroot.
136
136
137
-
App.fullBaseUrl
137
+
App.fullBaseUrl
138
138
The fully qualified domain name (including protocol) to your application's
139
139
root. This is used when generating absolute URLs. By default this value
140
140
is generated using the `$_SERVER` environment. However, you should define it
@@ -144,34 +144,34 @@ In a CLI context (from command) the <span class="title-ref">fullBaseUrl</span> c
144
144
as there is no webserver involved. You do need to specify it yourself if
145
145
you do need to generate URLs from a shell (for example, when sending emails).
146
146
147
-
App.imageBaseUrl
147
+
App.imageBaseUrl
148
148
Web path to the public images directory under webroot. If you are using
149
149
a `CDN` you should set this value to the CDN's location.
150
150
151
-
App.cssBaseUrl
151
+
App.cssBaseUrl
152
152
Web path to the public css directory under webroot. If you are using
153
153
a `CDN` you should set this value to the CDN's location.
154
154
155
-
App.jsBaseUrl
155
+
App.jsBaseUrl
156
156
Web path to the public js directory under webroot. If you are using
157
157
a `CDN` you should set this value to the CDN's location.
158
158
159
-
App.paths
159
+
App.paths
160
160
Configure paths for non class based resources. Supports the
161
161
`plugins`, `templates`, `locales` subkeys, which allow the definition
162
162
of paths for plugins, view templates and locale files respectively.
163
163
164
-
App.uploadedFilesAsObjects
164
+
App.uploadedFilesAsObjects
165
165
Defines whether uploaded files are being represented as objects (`true`),
166
166
or arrays (`false`). This option is being treated as enabled by default.
167
167
See the [File Uploads section](../controllers/request-response#request-file-uploads) in the Request &
168
168
Response Objects chapter for more information.
169
169
170
-
Security.salt
170
+
Security.salt
171
171
A random string used in hashing. This value is also used as the
172
172
HMAC salt when doing symmetric encryption.
173
173
174
-
Asset.timestamp
174
+
Asset.timestamp
175
175
Appends a timestamp which is last modified time of the particular
176
176
file at the end of asset files URLs (CSS, JavaScript, Image) when
177
177
using proper helpers. Valid values:
@@ -180,7 +180,7 @@ using proper helpers. Valid values:
180
180
- (bool) `true` - Appends the timestamp when debug is `true`
181
181
- (string) 'force' - Always appends the timestamp.
182
182
183
-
Asset.cacheTime
183
+
Asset.cacheTime
184
184
Sets the asset cache time. This determines the http header `Cache-Control`'s
185
185
`max-age`, and the http header's `Expire`'s time for assets.
186
186
This can take anything that you version of PHP's [strtotime function](https://php.net/manual/en/function.strtotime.php) can take.
0 commit comments