Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 159d688600..b9fe44ebfa 100644
--- a/index.php
+++ b/index.php
@@ -26,7 +26,7 @@
* @uses PMA_VERSION
* @uses session_write_close()
* @uses time()
- * @uses getenv()
+ * @uses PMA_getenv()
* @uses header() to send charset
*/
@@ -46,8 +46,8 @@ session_write_close();
// Gets the host name
// loic1 - 2001/25/11: use the new globals arrays defined with php 4.1+
if (empty($HTTP_HOST)) {
- if (getenv('HTTP_HOST')) {
- $HTTP_HOST = getenv('HTTP_HOST');
+ if (PMA_getenv('HTTP_HOST')) {
+ $HTTP_HOST = PMA_getenv('HTTP_HOST');
} else {
$HTTP_HOST = '';
}