deal with the ability to provide settings url in apd files in include/nav.php

This commit is contained in:
Mario Vavti 2018-09-20 12:10:27 +02:00
parent afd4da8f11
commit ad8226d549

View File

@ -206,7 +206,14 @@ function nav($template = 'default') {
); );
if($active_app) { 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'];
}
} }
} }