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
Copy file name to clipboardExpand all lines: src/config/GeneralConfig.php
+24-22Lines changed: 24 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1979,16 +1979,16 @@ class GeneralConfig extends BaseConfig
1979
1979
* @var string The string preceding a number which Craft will look for when determining if the current request is for a particular page in
1980
1980
* a paginated list of pages.
1981
1981
*
1982
-
* Example Value | Example URI
1983
-
* ------------- | -----------
1984
-
* `p` | `/news/p5`
1985
-
* `page` | `/news/page5`
1986
-
* `page/` | `/news/page/5`
1987
-
* `?page` | `/news?page=5`
1982
+
* | Example Value | Example URI |
1983
+
* | --- | --- |
1984
+
* | `p` | `/news/p5` |
1985
+
* | `page` | `/news/page5` |
1986
+
* | `page/` | `/news/page/5` |
1987
+
* | `?page` | `/news?page=5` |
1988
1988
*
1989
-
* ::: tip
1990
-
* If you want to set this to `?p` (e.g. `/news?p=5`), you’ll also need to change your <config5:pathParam> setting which defaults to `p`.
1991
-
* If your server is running Apache, you’ll need to update the redirect code in your `.htaccess` file to match your new `pathParam` value.
1989
+
* ::: warning
1990
+
* Craft may override this setting if it conflicts with <config5:pathParam>. If you want to set this to `?p` (e.g. `/news?p=5`), you’ll also need to change your <config5:pathParam> setting (which defaults to `p`).
1991
+
* Then, if your server is running Apache, you’ll need to update the redirect code in your `.htaccess` file to match your new `pathParam` value.
1992
1992
* :::
1993
1993
*
1994
1994
* ::: code
@@ -3126,8 +3126,9 @@ class GeneralConfig extends BaseConfig
* | `%` | `%Object Template% | Other (plugin or custom source) |
3132
3133
*
3133
3134
* Translations _may_ be nested or surrounded by multiple symbols.
@@ -5536,16 +5537,16 @@ public function optimizeImageFilesize(bool $value = true): self
5536
5537
* The string preceding a number which Craft will look for when determining if the current request is for a particular page in
5537
5538
* a paginated list of pages.
5538
5539
*
5539
-
* Example Value | Example URI
5540
-
* ------------- | -----------
5541
-
* `p` | `/news/p5`
5542
-
* `page` | `/news/page5`
5543
-
* `page/` | `/news/page/5`
5544
-
* `?page` | `/news?page=5`
5540
+
* | Example Value | Example URI |
5541
+
* | --- | --- |
5542
+
* | `p` | `/news/p5` |
5543
+
* | `page` | `/news/page5` |
5544
+
* | `page/` | `/news/page/5` |
5545
+
* | `?page` | `/news?page=5` |
5545
5546
*
5546
-
* ::: tip
5547
-
* If you want to set this to `?p` (e.g. `/news?p=5`), you’ll also need to change your <config5:pathParam> setting which defaults to `p`.
5548
-
* If your server is running Apache, you’ll need to update the redirect code in your `.htaccess` file to match your new `pathParam` value.
5547
+
* ::: warning
5548
+
* Craft may override this setting if it conflicts with <config5:pathParam>. If you want to set this to `?p` (e.g. `/news?p=5`), you’ll also need to change your <config5:pathParam> setting (which defaults to `p`).
5549
+
* Then, if your server is running Apache, you’ll need to update the redirect code in your `.htaccess` file to match your new `pathParam` value.
5549
5550
* :::
5550
5551
*
5551
5552
* ```php
@@ -6856,8 +6857,9 @@ public function transformSvgs(bool $value = true): self
0 commit comments