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 );
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to