mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10291 from creative-commoners/pulls/4/revert
FIX Revert adding extension hook
This commit is contained in:
commit
2411a83d5d
@ -470,7 +470,6 @@ 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