diff --git a/admin/inc/hook_admin.inc.php b/admin/inc/hook_admin.inc.php index 12bb695caa..64efa98168 100644 --- a/admin/inc/hook_admin.inc.php +++ b/admin/inc/hook_admin.inc.php @@ -21,7 +21,8 @@ 'Global Categories' => $phpgw->link('/admin/categories.php'), 'Change Main Screen Message' => $phpgw->link('/admin/mainscreen_message.php'), 'View Sessions' => $phpgw->link('/admin/currentusers.php'), - 'View Access Log' => $phpgw->link('/admin/accesslog.php') + 'View Access Log' => $phpgw->link('/admin/accesslog.php'), + 'phpInfo' => $phpgw->link('/admin/phpinfo.php') ); //Do not modify below this line display_section($appname,$title,$file); diff --git a/admin/phpinfo.php b/admin/phpinfo.php new file mode 100755 index 0000000000..b94291bed8 --- /dev/null +++ b/admin/phpinfo.php @@ -0,0 +1,23 @@ +<?php + /**************************************************************************\ + * phpGroupWare - administration * + * http://www.phpgroupware.org * + * -------------------------------------------- * + * This program is free software; you can redistribute it and/or modify it * + * under the terms of the GNU General Public License as published by the * + * Free Software Foundation; either version 2 of the License, or (at your * + * option) any later version. * + \**************************************************************************/ + + /* $Id$ */ + + $phpgw_info['flags'] = array( + 'currentapp' => 'admin', + 'enable_nextmatchs_class' => True + ); + include('../header.inc.php'); + + phpinfo(); + + $phpgw->common->phpgw_footer(); +?>