mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX Parameter tokens now redirect to correct url if mod_rewrite is off
This commit is contained in:
parent
ba8f984940
commit
add2ecdf8b
@ -191,8 +191,8 @@ class ParameterConfirmationToken {
|
||||
$_SERVER['HTTP_HOST'],
|
||||
// SilverStripe base
|
||||
self::$alternateBaseURL !== null ? self::$alternateBaseURL : BASE_URL,
|
||||
// And URL
|
||||
$url
|
||||
// And URL including base script (eg: if it's index.php/page/url/)
|
||||
(defined('BASE_SCRIPT_URL') ? '/' . BASE_SCRIPT_URL : '') . $url,
|
||||
));
|
||||
|
||||
// Join together with protocol into our current absolute URL, avoiding duplicated "/" characters
|
||||
|
Loading…
x
Reference in New Issue
Block a user