source: trunk/admin/phpinfo.php @ 2

Revision 2, 1.2 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2        /**************************************************************************\
3        * eGroupWare - administration                                              *
4        * http://www.egroupware.org                                                *
5        * --------------------------------------------                             *
6        *  This program is free software; you can redistribute it and/or modify it *
7        *  under the terms of the GNU General Public License as published by the   *
8        *  Free Software Foundation; either version 2 of the License, or (at your  *
9        *  option) any later version.                                              *
10        \**************************************************************************/
11
12
13        $GLOBALS['phpgw_info']['flags'] = array(
14                'noheader'   => True,
15                'nonavbar'   => True,
16                'currentapp' => 'admin'
17        );
18        include('../header.inc.php');
19
20        if ($GLOBALS['phpgw']->acl->check('info_access',1,'admin'))
21        {
22                $GLOBALS['phpgw']->redirect_link('/index.php');
23        }
24
25// Throw a little notice out if PHPaccelerator is enabled.
26        if($GLOBALS['_PHPA']['ENABLED'])
27        {
28                echo 'PHPaccelerator enabled:</br>'."\n";
29                echo 'PHPaccelerator Version: '.$GLOBALS['_PHPA']['VERSION'].'</br></p>'."\n";
30        }
31
32        phpinfo();
33//      $phpgw->common->phpgw_footer();
34?>
Note: See TracBrowser for help on using the repository browser.