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,9 +206,16 @@ function nav($template = 'default') {
); );
if($active_app) { if($active_app) {
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']; $url = $active_app[0]['app_url'];
} }
} }
}
//app bin //app bin
if($is_owner) { if($is_owner) {