mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-06-18 10:41:39 +02:00
FIX Allow changing admin URLs
This commit is contained in:
parent
7e5f0087b8
commit
0a7437db40
|
@ -173,7 +173,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||
*/
|
||||
public function Link($action = null) {
|
||||
$link = Controller::join_links(
|
||||
$this->stat('url_base', true),
|
||||
AdminRootController::admin_url(),
|
||||
$this->stat('url_segment', true), // in case we want to change the segment
|
||||
'/', // trailing slash needed if $action is null!
|
||||
"$action"
|
||||
|
|
Loading…
Reference in New Issue
Block a user