Added a PHP Info page back into the admin section.

This commit is contained in:
skeeter 2001-06-12 01:03:06 +00:00
parent ab823d410a
commit 69d6ba0a2d
2 changed files with 25 additions and 1 deletions

View File

@ -21,7 +21,8 @@
'Global Categories' => $phpgw->link('/admin/categories.php'), 'Global Categories' => $phpgw->link('/admin/categories.php'),
'Change Main Screen Message' => $phpgw->link('/admin/mainscreen_message.php'), 'Change Main Screen Message' => $phpgw->link('/admin/mainscreen_message.php'),
'View Sessions' => $phpgw->link('/admin/currentusers.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 //Do not modify below this line
display_section($appname,$title,$file); display_section($appname,$title,$file);

23
admin/phpinfo.php Executable file
View File

@ -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();
?>