Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
domain-3462753
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
domain-3462753
Commits
4cc359cd
Commit
4cc359cd
authored
16 years ago
by
Ken Rickard
Browse files
Options
Downloads
Patches
Plain Diff
--
#300311
by Garrett Albright. Fixes redirect error if module not configured.
parent
e66b4168
No related branches found
Branches containing commit
Tags
7.x-1.0-beta3
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+5
-0
5 additions, 0 deletions
CHANGELOG.txt
domain.module
+1
-1
1 addition, 1 deletion
domain.module
with
6 additions
and
1 deletion
CHANGELOG.txt
+
5
−
0
View file @
4cc359cd
// $Id$
27-AUG-2008
-- #300311 by Garrett Albright. Fixes redirect error if module not configured.
-- Creates release 6.x.1.1
22-AUG-2008
-- Creates release 6.x.1.0!
...
...
This diff is collapsed.
Click to expand it.
domain.module
+
1
−
1
View file @
4cc359cd
...
...
@@ -57,7 +57,7 @@ function domain_init() {
if
(
$_domain
==
-
1
)
{
$_domain
=
domain_default
();
// If the request was not for the primary domain, send the user there. See http://drupal.org/node/293453.
if
(
$_subdomain
!=
$_domain
[
'subdomain'
])
{
if
(
!
empty
(
$_domain
[
'subdomain'
])
&&
$_subdomain
!=
$_domain
[
'subdomain'
])
{
$request
=
domain_get_uri
(
$_domain
);
drupal_set_message
(
t
(
'You have followed an incorrect link to this website. Please update your links and bookmarks to <a href="!url">!url</a>.'
,
array
(
'!url'
=>
$request
)));
drupal_goto
(
$request
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment