SVN: PLD-BTS/trunk/flyspray/functions.inc.php

arekm arekm at pld-linux.org
Fri Mar 23 13:35:24 CET 2007


Author: arekm
Date: Fri Mar 23 13:35:24 2007
New Revision: 8400

Modified:
   PLD-BTS/trunk/flyspray/functions.inc.php
Log:
Hack for SRV based pld-linux.org vhost.

Modified: PLD-BTS/trunk/flyspray/functions.inc.php
==============================================================================
--- PLD-BTS/trunk/flyspray/functions.inc.php	(original)
+++ PLD-BTS/trunk/flyspray/functions.inc.php	Fri Mar 23 13:35:24 2007
@@ -246,6 +246,10 @@
       return '$errstr (' . $errno . ')';
    } else {
 
+   // XXX: hack for srv based vhost
+   if ($sHost == "jabber.pld-linux.org")
+   	$sHost = "pld-linux.org";
+
    fputs($socket, '<?xml version="1.0" encoding="UTF-8"?><stream:stream to="' . $sHost . '" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">' );
    sleep(2); /* PLD: for jabber to work */
    fgets( $socket, 1 );


More information about the pld-cvs-commit mailing list