bugfix (REMOTE_HOST needs specific apache configuration...)
authorx99bachelart <x99bachelart>
Fri, 5 Sep 2003 15:21:22 +0000 (15:21 +0000)
committerx99bachelart <x99bachelart>
Fri, 5 Sep 2003 15:21:22 +0000 (15:21 +0000)
install.d/config.inc.php

index 463133b..0288edb 100644 (file)
@@ -43,7 +43,7 @@ $news['max'] = 50;
 $news['customhdr'] = "Content-Type: text/plain; charset=iso-8859-15\n"
   ."Mime-Version: 1.0\n"
   ."Content-Transfer-Encoding: 8bit\n"
-  ."HTTP-Posting-Host: ".$_SERVER['REMOTE_HOST']."\n"
+  ."HTTP-Posting-Host: ".gethostbyname($_SERVER['REMOTE_ADDR'])."\n"
   ."User-Agent: Banana 0.7beta\n";
 
 ?>