summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/locationinfohooks.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2020-01-13 15:51:36 +0100
committerSimon Rettberg2020-01-13 15:51:36 +0100
commit1500f1a8c753776ae483ad240fe2e355bea5c2ee (patch)
tree47684d503971b2e8ed101f78fe466bb70994b1d1 /modules-available/locationinfo/inc/locationinfohooks.inc.php
parent[rebootcontrol] Add missing closing tag (diff)
downloadslx-admin-1500f1a8c753776ae483ad240fe2e355bea5c2ee.tar.gz
slx-admin-1500f1a8c753776ae483ad240fe2e355bea5c2ee.tar.xz
slx-admin-1500f1a8c753776ae483ad240fe2e355bea5c2ee.zip
[locationinfo] SLX_BROWSER_INTERACTIVE handled for slx-browser
No bookmark support for slx-browser
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);
}