aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-09-02 18:44:43 +0000
committerChad Little <clittle@users.sourceforge.net>2004-09-02 18:44:43 +0000
commit4d43120be01f4681e38e56df91e6f0ef8500e2ed (patch)
tree3dc315d9f432629506b14ccf9a07e6a358f85f23 /search.php
parent88c00c20e642043675459659e7d3266fbc6fb1ec (diff)
downloadphpicalendar-4d43120be01f4681e38e56df91e6f0ef8500e2ed.tar.gz
phpicalendar-4d43120be01f4681e38e56df91e6f0ef8500e2ed.tar.bz2
phpicalendar-4d43120be01f4681e38e56df91e6f0ef8500e2ed.zip
Updated to $_SERVER
Diffstat (limited to 'search.php')
-rw-r--r--search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.php b/search.php
index 885f482..c4fe439 100644
--- a/search.php
+++ b/search.php
@@ -8,8 +8,8 @@ require_once(BASE.'functions/list_functions.php');
require_once(BASE.'functions/template.php');
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'];
+if (isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] != '') {
+ $back_page = $_SERVER['HTTP_REFERER'];
} else {
$back_page = BASE.$default_view.'.php?cal='.$cal.'&amp;getdate='.$getdate;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy