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); parent::start($master);
$this->switchSite(); $this->switchSite();
require_once "lib/jabber.php"; require_once INSTALLDIR . "/lib/jabber.php";
# Low priority; we don't want to receive messages # Low priority; we don't want to receive messages

View File

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