mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +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'];
|
$appname = $GLOBALS['HTTP_GET_VARS']['appname'];
|
||||||
$config_appname = 'phpgwapi';
|
$config_appname = 'phpgwapi';
|
||||||
break;
|
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:
|
default:
|
||||||
$appname = $GLOBALS['HTTP_GET_VARS']['appname'];
|
$appname = $GLOBALS['HTTP_GET_VARS']['appname'];
|
||||||
$config_appname = $appname;
|
$config_appname = $appname;
|
||||||
|
Loading…
Reference in New Issue
Block a user