Index: includes/defines.php
===================================================================
--- includes/defines.php	(revision 19669)
+++ includes/defines.php	(working copy)
@@ -21,7 +21,7 @@
         define('root', str_replace('//', '/', dirname($_SERVER['SCRIPT_NAME']).'/'));
 
 // Several sections of this program require the current hostname
-    $uname = posix_uname();
+    $uname = php_uname('n');
     define('hostname', empty($_SERVER['hostname']) ? trim($uname['nodename']) : $_SERVER['hostname']);
     unset($uname);
 
