mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +01:00
fix for default apps
This commit is contained in:
parent
90771fc094
commit
e6a2e46a6f
12
index.php
12
index.php
@ -59,17 +59,17 @@
|
|||||||
$phpgw->common->navbar(True);
|
$phpgw->common->navbar(True);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} elseif ($cd=="yes" && $phpgw_info["user"]["preferences"]["common"]["default_app"]
|
||||||
|
&& $phpgw_info["user"]["apps"][$phpgw_info["user"]["preferences"]["common"]["default_app"]]) {
|
||||||
|
$phpgw->redirect($phpgw->link($phpgw_info["server"]["webserver_url"] . "/"
|
||||||
|
. $phpgw_info["user"]["preferences"]["common"]["default_app"] . "/"));
|
||||||
|
$phpgw->common->phpgw_exit();
|
||||||
} else {
|
} else {
|
||||||
$phpgw->common->phpgw_header();
|
$phpgw->common->phpgw_header();
|
||||||
$phpgw->common->navbar();
|
$phpgw->common->navbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($cd=="yes" && $phpgw_info["user"]["preferences"]["common"]["default_app"]
|
|
||||||
&& $phpgw_info["user"]["apps"][$phpgw_info["user"]["preferences"]["common"]["default_app"]]) {
|
|
||||||
$phpgw->redirect($phpgw->link($phpgw_info["server"]["webserver_url"] . "/"
|
|
||||||
. $phpgw_info["user"]["preferences"]["common"]["default_app"] . "/"));
|
|
||||||
$phpgw->common->phpgw_exit();
|
|
||||||
}
|
|
||||||
|
|
||||||
//$phpgw->hooks->proccess("location","mainscreen");
|
//$phpgw->hooks->proccess("location","mainscreen");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user