mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Revert "FIX Revert adding extension hook"
This commit is contained in:
parent
2411a83d5d
commit
2067573e52
@ -470,6 +470,7 @@ class Director implements TemplateGlobalProvider
|
|||||||
// Default to respecting site base_url
|
// Default to respecting site base_url
|
||||||
$parent = self::absoluteBaseURL();
|
$parent = self::absoluteBaseURL();
|
||||||
}
|
}
|
||||||
|
static::singleton()->extend('updateAbsoluteURLParent', $parent);
|
||||||
|
|
||||||
// Map empty urls to relative slash and join to base
|
// Map empty urls to relative slash and join to base
|
||||||
if (empty($url) || $url === '.' || $url === './') {
|
if (empty($url) || $url === '.' || $url === './') {
|
||||||
|
Loading…
Reference in New Issue
Block a user