phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [21323] Fixing globals


From: Caeies
Subject: [Phpgroupware-cvs] [21323] Fixing globals
Date: Wed, 08 Sep 2010 16:22:40 +0000

Revision: 21323
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21323
Author:   Caeies
Date:     2010-09-08 16:22:39 +0000 (Wed, 08 Sep 2010)
Log Message:
-----------
Fixing globals

Modified Paths:
--------------
    modules/calendar/branches/branch_0_9_16/phpgroupware.org/accept_holiday.php

Modified: 
modules/calendar/branches/branch_0_9_16/phpgroupware.org/accept_holiday.php
===================================================================
--- modules/calendar/branches/branch_0_9_16/phpgroupware.org/accept_holiday.php 
2010-09-08 14:50:46 UTC (rev 21322)
+++ modules/calendar/branches/branch_0_9_16/phpgroupware.org/accept_holiday.php 
2010-09-08 16:22:39 UTC (rev 21323)
@@ -11,8 +11,8 @@
   \**************************************************************************/
        /* $Id$ */
 
-       $send_back_to = 
str_replace('submitlocale','holiday_admin',$HTTP_SERVER_VARS['HTTP_REFERER']);
-       $send_back_to = 
str_replace('submit','admin',$HTTP_SERVER_VARS['HTTP_REFERER']);        // 
0.9.14.xxx
+       $send_back_to = 
str_replace('submitlocale','holiday_admin',$GLOBALS['_SERVER']['HTTP_REFERER']);
+       $send_back_to = 
str_replace('submit','admin',$GLOBALS['_SERVER']['HTTP_REFERER']);      // 
0.9.14.xxx
        if(!$locale)
        {
                Header('Location: '.$send_back_to);
@@ -46,7 +46,7 @@
        <h1>There is already a holiday-file for '<?php echo $locale; ?>' 
!!!</h1>
 
        <p>If you think your version of the holidays for '<?php echo $locale; 
?>' should replace
-       the existing one, please <a href="<?php echo $HTTP_REFERER; 
?>&download=1">download</a> the file
+       the existing one, please <a href="<?php echo 
$GLOBALS['_SERVER']['HTTP_REFERER']; ?>&download=1">download</a> the file
        and <a href="mailto:address@hidden";>mail it</a> to us.</p>
 
        <p>To get back to your own phpGroupWare-install <a href="<?php echo 
$send_back_to; ?>">click here</a>.</p>




reply via email to

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