mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1549 from dhensby/pulls/4/admin-url-fix
FIX Allow changing admin URLs
This commit is contained in:
commit
6b4617d476
@ -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