From 5bdcd3374086d6ed5dfea49605fdc1416351330a Mon Sep 17 00:00:00 2001
From: Sebastian Mendel
Date: Mon, 6 Mar 2006 11:32:58 +0000
Subject: [PATCH] replaced $_SERVER with getenv()
---
ChangeLog | 7 +-
libraries/auth/cookie.auth.lib.php | 62 +-
libraries/auth/http.auth.lib.php | 44 +-
libraries/common.lib.php | 4 +-
libraries/footer.inc.php | 6 +-
libraries/fpdf/fpdf.php | 2514 ++++++++++++++--------------
libraries/grab_globals.lib.php | 43 +-
libraries/header.inc.php | 20 +-
libraries/ip_allow_deny.lib.php | 126 +-
libraries/select_lang.lib.php | 8 +-
10 files changed, 1393 insertions(+), 1441 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0352bb45e..c93f1c62b 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,12 @@ $Id$
$Source$
2006-03-06 Sebastian Mendel
- * libraries/Config.class.php: replaced $_SERVER with getenv()
+ * libraries/Config.class.php, libraries/select_lang.lib.php,
+ libraries/footer.inc.php, libraries/ip_allow_deny.lib.php,
+ libraries/common.lib.php, libraries/header.inc.php,
+ libraries/grab_globals.lib.php, libraries/auth/cookie.auth.lib.php,
+ libraries/auth/http.auth.lib.php, libraries/fpdf/fdpf.php:
+ replaced $_SERVER with getenv()
2006-03-04 Marc Delisle
* lang/swedish: Update, thanks to Björn T. Hallberg - bjornth.
diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php
index d2eb8ff3b..18a732858 100644
--- a/libraries/auth/cookie.auth.lib.php
+++ b/libraries/auth/cookie.auth.lib.php
@@ -19,9 +19,9 @@ $current_time = time();
// Uses faster mcrypt library if available
// (Note: mcrypt.lib.php needs $cookie_path and $is_https)
if (function_exists('mcrypt_encrypt') || PMA_dl('mcrypt')) {
- require_once('./libraries/mcrypt.lib.php');
+ require_once './libraries/mcrypt.lib.php';
} else {
- require_once('./libraries/blowfish.php');
+ require_once './libraries/blowfish.php';
}
/**
@@ -101,7 +101,7 @@ function PMA_auth()
/* HTML header */
$page_title = 'phpMyAdmin ' . PMA_VERSION;
- require('./libraries/header_meta_style.inc.php');
+ require './libraries/header_meta_style.inc.php';
?>
-
+
-
+
@@ -42,7 +42,7 @@ function PMA_auth() {
-
+