File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ RewriteEngine On
4
4
# This file detection + redirect done here rather than public/.htaccess as redirect to public/$1 will mean
5
5
# that %{REQUEST_URI} will change from something like /5/index.html to /public/5/index.html, which means
6
6
# that we can no longer use %{REQUEST_URI} to check that a static file exists using -f because the file
7
- # is /public/static/5 /index.html not /public/5 /index.html
7
+ # is /public/static/6 /index.html not /public/6 /index.html
8
8
RewriteCond %{DOCUMENT_ROOT}/public/static/%{REQUEST_URI} -f
9
9
RewriteRule ^(.*)$ public/static/$1 [L]
10
10
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Lookup
13
13
/**
14
14
* The default branch name for each core module
15
15
*/
16
- public const DEFAULT_BRANCH = '5 ' ;
16
+ public const DEFAULT_BRANCH = '6 ' ;
17
17
18
18
protected array $ args = [];
19
19
Original file line number Diff line number Diff line change 77
77
78
78
### ============= End Legacy redirects =============
79
79
80
- # Redirect base path to 5 index.html - default major version
80
+ # Redirect base path to 6 index.html - default major version
81
81
RewriteCond %{REQUEST_URI} ^(.*)$ [NC]
82
- RewriteRule ^/?$ /5 /index.html [R=302 ,L]
82
+ RewriteRule ^/?$ /6 /index.html [R=302 ,L]
83
83
84
84
# Process through SilverStripe if no file with the requested name exists.
85
85
RewriteCond %{REQUEST_FILENAME} !-f
You can’t perform that action at this time.
0 commit comments