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:
authorWillian Gustavo Veiga <wiltave@gmail.com>2012-04-14 05:12:28 +0400
committerWillian Gustavo Veiga <wiltave@gmail.com>2012-04-14 05:12:28 +0400
commitbf540384eec7165b70223a15598ec654d254b0c6 (patch)
treeeeb57b211c651125b2c649c706a6ef3ce6ed4da0 /index.php
parentfca5517ae6a5aba854b2cc315c231f7d209aaabb (diff)
Unnecessary "else" statement removed
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.php b/index.php
index 16f1a73e8c..1bf8688c1d 100644
--- a/index.php
+++ b/index.php
@@ -17,10 +17,9 @@ session_write_close();
// Gets the host name
if (empty($HTTP_HOST)) {
+ $HTTP_HOST = '';
if (PMA_getenv('HTTP_HOST')) {
$HTTP_HOST = PMA_getenv('HTTP_HOST');
- } else {
- $HTTP_HOST = '';
}
}