Skip to content

Commit

Permalink
#254 - the Controller::after_displayPageHead_callback() method now on…
Browse files Browse the repository at this point in the history
…ly renders the admin menu for secure URLs
  • Loading branch information
alphadevx committed Jan 3, 2016
1 parent db9ac33 commit 2709aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Alpha/Controller/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,7 @@ public function after_displayPageHead_callback()
{
$accept = $this->request->getAccept();

if ($accept != 'application/json') {
if ($accept != 'application/json' && $this->checkIfAccessingFromSecureURL()) {
$viewState = ViewState::getInstance();
if ($viewState->get('renderAdminMenu') === true) {
$menu = View::loadTemplateFragment('html', 'adminmenu.phtml', array());
Expand Down

0 comments on commit 2709aef

Please sign in to comment.