aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nav.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php
index 9afba7945..f8d6f2438 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -206,7 +206,14 @@ function nav($template = 'default') {
);
if($active_app) {
- $url = $active_app[0]['app_url'];
+ if(strpos($active_app[0]['app_url'], ',')) {
+ $urls = explode(',', $active_app[0]['app_url']);
+ $url = trim($urls[0]);
+ $settings_url = trim($urls[1]);
+ }
+ else {
+ $url = $active_app[0]['app_url'];
+ }
}
}