From 0a7437db40bbca078a4c7518d8f907228bf03462 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Mon, 18 Jul 2016 12:44:20 +0100 Subject: [PATCH] FIX Allow changing admin URLs --- code/controllers/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index c610015a..3bd66a97 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -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"