Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
275
Merge Requests
33
CI / CD
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
fa2ca063
Commit
fa2ca063
authored
1 hour ago
by
Mark Harding
Browse files
Options
Download
(fix): if not a pro site then signal redirect to root
parent
eff0477f
No related merge requests found
Pipeline
#117933959
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Core/Config/Exported.php
View file @
fa2ca063
...
...
@@ -123,6 +123,9 @@ class Exported
if
(
$pro
=
$this
->
proDomain
->
lookup
(
$_SERVER
[
'HTTP_HOST'
]
??
null
))
{
$exported
[
'pro'
]
=
$pro
;
}
elseif
(
!
$this
->
proDomain
->
isRoot
(
$_SERVER
[
'HTTP_HOST'
]
??
null
))
{
// If not a pro site and not root then tell frontend to redirect
$exported
[
'redirect_to_root_on_init'
]
=
true
;
}
return
$exported
;
...
...
This diff is collapsed.
Please
register
or
sign in
to comment