queue daemon fixes: path fix for xmpp, suppress warning in memcached init

This commit is contained in:
Brion Vibber 2010-01-13 21:24:02 -08:00
parent 35a2f8de4d
commit b25deaacea
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ class XmppManager extends IoManager
parent::start($master);
$this->switchSite();
require_once "lib/jabber.php";
require_once INSTALLDIR . "/lib/jabber.php";
# Low priority; we don't want to receive messages

View File

@ -166,7 +166,7 @@ class MemcachePlugin extends Plugin
if (is_array($this->servers)) {
foreach ($this->servers as $server) {
list($host, $port) = explode(';', $server);
list($host, $port) = @explode(';', $server);
if (empty($port)) {
$port = 11211;
}