phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: setup config.php,1.73,1.74


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup config.php,1.73,1.74
Date: Sun, 07 Apr 2002 22:33:58 -0400

Update of /cvsroot/phpgroupware/setup
In directory subversions:/tmp/cvs-serv10474/setup

Modified Files:
        config.php 
Log Message:
Changed to GLOBALS[''] for HTTP_*_VARS.

Index: config.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/config.php,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -r1.73 -r1.74
*** config.php  3 Mar 2002 21:52:52 -0000       1.73
--- config.php  8 Apr 2002 02:33:56 -0000       1.74
***************
*** 58,62 ****
        }
  
!       if($HTTP_POST_VARS['cancel'])
        {
                Header('Location: index.php');
--- 58,62 ----
        }
  
!       if(@$GLOBALS['HTTP_POST_VARS']['cancel'])
        {
                Header('Location: index.php');
***************
*** 75,79 ****
        }
  
!       if($HTTP_POST_VARS['submit'] && $HTTP_POST_VARS['newsettings'])
        {
                $GLOBALS['phpgw_setup']->db->transaction_begin();
--- 75,79 ----
        }
  
!       if(@$GLOBALS['HTTP_POST_VARS']['submit'] && 
@$GLOBALS['HTTP_POST_VARS']['newsettings'])
        {
                $GLOBALS['phpgw_setup']->db->transaction_begin();
***************
*** 82,86 ****
                $GLOBALS['phpgw_setup']->db->query("INSERT INTO $configtbl 
(config_app,config_name, config_value) values 
('phpgwapi','useframes','never')");
  
!               $newsettings = $HTTP_POST_VARS['newsettings'];
  
                while(list($setting,$value) = @each($newsettings))
--- 82,86 ----
                $GLOBALS['phpgw_setup']->db->query("INSERT INTO $configtbl 
(config_app,config_name, config_value) values 
('phpgwapi','useframes','never')");
  
!               $newsettings = $GLOBALS['HTTP_POST_VARS']['newsettings'];
  
                while(list($setting,$value) = @each($newsettings))




reply via email to

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