]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make the daemon do something
authorEvan Prodromou <evan@prodromou.name>
Mon, 23 Jun 2008 03:01:50 +0000 (23:01 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 23 Jun 2008 03:01:50 +0000 (23:01 -0400)
darcs-hash:20080623030150-84dde-d065378a7cf8371924ebf3a76bf9b25d0d50795e.gz

xmppdaemon.php

index 71f1d853b9ff2909c88a395fbeaf6d35f24a28ab..f1a817e3f108bf3fc2af854c99c517a62bc94e46 100644 (file)
@@ -156,5 +156,9 @@ class XMPPDaemon {
        }
 }
 
+$daemon = new XMPPDaemon();
 
+if ($daemon->connect()) {
+       $daemon->handle();
+}
 ?>