Skip to content
Permalink
Browse files

FIX Allow changing admin URLs

  • Loading branch information
dhensby committed Jul 18, 2016
1 parent 7e5f008 commit 0a7437db40bbca078a4c7518d8f907228bf03462
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/CMSMain.php
@@ -173,7 +173,7 @@ public function SwitchView($page = null) {
*/
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"

0 comments on commit 0a7437d

Please sign in to comment.
You can’t perform that action at this time.