Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv479
Modified Files:
preferences.php search.php
Log Message:
Updated to $_SERVER
Index: preferences.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** preferences.php 2 Sep 2004 18:43:33 -0000 1.52
--- preferences.php 2 Sep 2004 18:44:43 -0000 1.53
***************
*** 8,12 ****
if ($cookie_uri == '') {
! $cookie_uri = $HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/'));
}
--- 8,12 ----
if ($cookie_uri == '') {
! $cookie_uri = $_SERVER['SERVER_NAME'].substr($_SERVER['PHP_SELF'],0,strpos($_SERVER['PHP_SELF'], '/'));
}
Index: search.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/search.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** search.php 2 Sep 2004 18:43:33 -0000 1.33
--- search.php 2 Sep 2004 18:44:43 -0000 1.34
***************
*** 9,14 ****
header("Content-Type: text/html; charset=$charset");
! if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER'] != '') {
! $back_page = $HTTP_SERVER_VARS['HTTP_REFERER'];
} else {
$back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate;
--- 9,14 ----
header("Content-Type: text/html; charset=$charset");
! if (isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] != '') {
! $back_page = $_SERVER['HTTP_REFERER'];
} else {
$back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate;
|