mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Disable possibility of defaulting to display setup-only configs
This commit is contained in:
parent
ff13d7a060
commit
99bf9a1305
@ -36,6 +36,10 @@
|
||||
$appname = $GLOBALS['HTTP_GET_VARS']['appname'];
|
||||
$config_appname = 'phpgwapi';
|
||||
break;
|
||||
case '':
|
||||
/* This keeps the admin from getting into what is a setup-only config */
|
||||
Header('Location: '.$GLOBALS['phpgw']->link('/admin/index.php'));
|
||||
break;
|
||||
default:
|
||||
$appname = $GLOBALS['HTTP_GET_VARS']['appname'];
|
||||
$config_appname = $appname;
|
||||
|
Loading…
Reference in New Issue
Block a user