Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
domain-3479102
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
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-3479102
Commits
c8d37915
Commit
c8d37915
authored
15 years ago
by
Ken Rickard
Browse files
Options
Downloads
Patches
Plain Diff
-- Doxygen cleanup. Upgrades patches to Drupal 5.18.
--
#450344
backport to D5 branch.
parent
6608f43b
No related branches found
Branches containing commit
Tags
5.x-1.10
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+2
-1
2 additions, 1 deletion
CHANGELOG.txt
settings_custom_url.inc
+10
-2
10 additions, 2 deletions
settings_custom_url.inc
with
12 additions
and
3 deletions
CHANGELOG.txt
+
2
−
1
View file @
c8d37915
...
...
@@ -2,7 +2,8 @@
31-MAY-2009
-- Doxygen cleanup. Upgrades patches to Drupal 5.18.
-- Doxygen cleanup. Upgrades patches to Drupal 5.18.
-- #450344 backport to D5 branch.
07-APR-2009
...
...
This diff is collapsed.
Click to expand it.
settings_custom_url.inc
+
10
−
2
View file @
c8d37915
...
...
@@ -4,7 +4,7 @@
/**
* @file
* Includ
d
e file for settings.php to provide advanced
* Include file for settings.php to provide advanced
* functionality for rewriting links as needed.
*
* @ingroup domain
...
...
@@ -12,9 +12,17 @@
/**
* Implement custom_url_rewrite_outbound().
*/
if
(
!
function_exists
(
'custom_url_rewrite_outbound'
))
{
function
custom_url_rewrite_outbound
(
&
$path
,
&
$query
,
&
$fragment
,
&
$absolute
,
&
$base_url
,
$original_path
)
{
domain_url_rewrite_outbound
(
$path
,
$query
,
$fragment
,
$absolute
,
$base_url
,
$original_path
);
}
}
/**
* Forces absolute paths for domains when needed.
*/
function
custom
_url_rewrite_outbound
(
&
$path
,
&
$query
,
&
$fragment
,
&
$absolute
,
&
$base_url
,
$original_path
)
{
function
domain
_url_rewrite_outbound
(
&
$path
,
&
$query
,
&
$fragment
,
&
$absolute
,
&
$base_url
,
$original_path
)
{
global
$_domain
;
// If the domain_id is not set, then the Domain module is not active, and we cannot run this function.
if
(
isset
(
$_domain
[
'domain_id'
]))
{
...
...
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