Till Brehm
2016-06-23 2be1de4e523cea741a000cd21acd166660d8b9c8
Fix for an issue where plugins dont get loaded when logged in with "Login as".
1 files modified
1 ■■■■ changed files
interface/web/login/index.php 1 ●●●● patch | view | raw | blame | history
interface/web/login/index.php
@@ -217,6 +217,7 @@
                        $_SESSION['s']['user']['theme'] = isset($user['app_theme']) ? $user['app_theme'] : 'default';
                        $_SESSION['s']['language'] = $user['language'];
                        $_SESSION["s"]['theme'] = $_SESSION['s']['user']['theme'];
                        if ($loginAs) $_SESSION['s']['plugin_cache'] = $_SESSION['s_old']['plugin_cache'];
                        
                        if(is_file(ISPC_WEB_PATH . '/' . $_SESSION['s']['user']['startmodule'].'/lib/module.conf.php')) {
                            include_once ISPC_WEB_PATH . '/' . $_SESSION['s']['user']['startmodule'].'/lib/module.conf.php';