1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2024-12-20 21:50:49 +01:00
egroupware_official/admin/phpinfo.php

36 lines
1.2 KiB
PHP
Raw Normal View History

<?php
/**************************************************************************\
2004-01-25 23:08:51 +01:00
* eGroupWare - administration *
* http://www.egroupware.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$ */
2005-10-14 19:03:16 +02:00
$GLOBALS['egw_info']['flags'] = array(
'noheader' => True,
'nonavbar' => True,
'currentapp' => 'admin'
);
include('../header.inc.php');
2004-01-22 03:33:03 +01:00
2005-10-14 19:03:16 +02:00
if ($GLOBALS['egw']->acl->check('info_access',1,'admin'))
{
2005-10-14 19:03:16 +02:00
$GLOBALS['egw']->redirect_link('/index.php');
}
// Throw a little notice out if PHPaccelerator is enabled.
if($GLOBALS['_PHPA']['ENABLED'])
{
echo 'PHPaccelerator enabled:</br>'."\n";
echo 'PHPaccelerator Version: '.$GLOBALS['_PHPA']['VERSION'].'</br></p>'."\n";
}
2004-01-22 03:33:03 +01:00
phpinfo();
2005-10-14 19:03:16 +02:00
// $GLOBALS['egw']->common->egw_footer();
?>