Merge remote-tracking branch 'origin/feature/redesign' into feature/redesign

This commit is contained in:
Matias Griese
2014-10-07 12:13:40 +03:00
8 changed files with 53 additions and 33 deletions

View File

@@ -125,6 +125,9 @@ class AdminPlugin extends Plugin
// Set original route for the home page.
$home = '/' . trim($this->config->get('system.home.alias'), '/');
// set the default if not set before
$this->session->expert = $this->session->expert ?: true;
// set session variable if it's passed via the url
if ($this->uri->param('mode') == 'expert') {
$this->session->expert = true;