Disable explicitly calling appname=phpgwapi

This commit is contained in:
Miles Lott 2001-12-24 05:17:07 +00:00
parent 913baf2bda
commit 573c7089d1

View File

@ -36,6 +36,7 @@
$appname = $GLOBALS['HTTP_GET_VARS']['appname'];
$config_appname = 'phpgwapi';
break;
case 'phpgwapi':
case '':
/* This keeps the admin from getting into what is a setup-only config */
Header('Location: '.$GLOBALS['phpgw']->link('/admin/index.php'));