Skip to content

Commit d7e4d91

Browse files
ENH Update versions to reflect CMS 6 is stable (#143)
1 parent ca656c2 commit d7e4d91

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RewriteEngine On
44
# This file detection + redirect done here rather than public/.htaccess as redirect to public/$1 will mean
55
# that %{REQUEST_URI} will change from something like /5/index.html to /public/5/index.html, which means
66
# 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
88
RewriteCond %{DOCUMENT_ROOT}/public/static/%{REQUEST_URI} -f
99
RewriteRule ^(.*)$ public/static/$1 [L]
1010

app/src/Search/Lookup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Lookup
1313
/**
1414
* The default branch name for each core module
1515
*/
16-
public const DEFAULT_BRANCH = '5';
16+
public const DEFAULT_BRANCH = '6';
1717

1818
protected array $args = [];
1919

public/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777

7878
### ============= End Legacy redirects =============
7979

80-
# Redirect base path to 5 index.html - default major version
80+
# Redirect base path to 6 index.html - default major version
8181
RewriteCond %{REQUEST_URI} ^(.*)$ [NC]
82-
RewriteRule ^/?$ /5/index.html [R=302,L]
82+
RewriteRule ^/?$ /6/index.html [R=302,L]
8383

8484
# Process through SilverStripe if no file with the requested name exists.
8585
RewriteCond %{REQUEST_FILENAME} !-f

0 commit comments

Comments
 (0)