diff --git a/admin/inc/class.uiconfig.inc.php b/admin/inc/class.uiconfig.inc.php index 81e343c8c3..09f1f54c40 100644 --- a/admin/inc/class.uiconfig.inc.php +++ b/admin/inc/class.uiconfig.inc.php @@ -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;