phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] admin/phpinfo.php, 1.6


From: nomail
Subject: [Phpgroupware-cvs] admin/phpinfo.php, 1.6
Date: Thu, 30 Dec 2004 08:38:14 +0100

Update of /admin
Modified Files:
        Branch: 
          phpinfo.php

date: 2004/12/30 07:38:14;  author: skwashd;  state: Exp;  lines: +14 -6

Log Message:
new HEAD admin - sans GIFs
=====================================================================
Index: admin/phpinfo.php
diff -u admin/phpinfo.php:1.5 admin/phpinfo.php:1.6
--- admin/phpinfo.php:1.5       Fri Apr 25 00:36:35 2003
+++ admin/phpinfo.php   Thu Dec 30 07:38:14 2004
@@ -8,14 +8,20 @@
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/
+
        /* $Id$ */
 
-       $GLOBALS['phpgw_info']['flags'] = array
-       (
-               'noframework'   => True,
-               'currentapp'    => 'admin'
+       $phpgw_info['flags'] = array(
+               'noheader'   => True,
+               'nonavbar'   => True,
+               'currentapp' => 'admin'
        );
        include('../header.inc.php');
+       
+       if ($GLOBALS['phpgw']->acl->check('info_access',1,'admin'))
+       {
+               $GLOBALS['phpgw']->redirect_link('/index.php');
+       }
 
 // Throw a little notice out if PHPaccelerator is enabled.
        if($GLOBALS['_PHPA']['ENABLED'])
@@ -23,6 +29,8 @@
                echo 'PHPaccelerator enabled:</br>'."\n";
                echo 'PHPaccelerator Version: 
'.$GLOBALS['_PHPA']['VERSION'].'</br></p>'."\n";
        }
-
+       
        phpinfo();
+
+//     $phpgw->common->phpgw_footer();
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]