summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/locationinfohooks.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/inc/locationinfohooks.inc.php')
-rw-r--r--modules-available/locationinfo/inc/locationinfohooks.inc.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules-available/locationinfo/inc/locationinfohooks.inc.php b/modules-available/locationinfo/inc/locationinfohooks.inc.php
index b7bdda14..d6559788 100644
--- a/modules-available/locationinfo/inc/locationinfohooks.inc.php
+++ b/modules-available/locationinfo/inc/locationinfohooks.inc.php
@@ -46,17 +46,20 @@ class LocationInfoHooks
ConfigHolder::add('SLX_AUTOLOGIN', '1', 1000);
ConfigHolder::add('SLX_ADDONS', '', 1000);
}
- if (isset($data['interactive']) && $data['interactive']) {
- ConfigHolder::add('SLX_BROWSER_INTERACTIVE', '1', 1000);
- }
if (!empty($data['browser'])) {
if ($data['browser'] === 'chromium') {
$browser = 'chromium chrome';
} else {
$browser = 'slxbrowser slx-browser';
+ if (isset($data['split-login']) && $data['split-login']) {
+ $data['interactive'] = 1;
+ }
}
ConfigHolder::add('SLX_BROWSER', $browser, 1000);
}
+ if (isset($data['interactive']) && $data['interactive']) {
+ ConfigHolder::add('SLX_BROWSER_INTERACTIVE', '1', 1000);
+ }
if (!empty($data['bookmarks'])) {
ConfigHolder::add('SLX_BROWSER_BOOKMARKS', $data['bookmarks'], 1000);
}