From: Brion Vibber Date: Thu, 14 Jan 2010 05:24:02 +0000 (-0800) Subject: queue daemon fixes: path fix for xmpp, suppress warning in memcached init X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b25deaacea75f2e565a58ea14aca19627f5cfa93;p=quix0rs-gnu-social.git queue daemon fixes: path fix for xmpp, suppress warning in memcached init --- diff --git a/lib/xmppmanager.php b/lib/xmppmanager.php index 9662e97d15..0839cda57a 100644 --- a/lib/xmppmanager.php +++ b/lib/xmppmanager.php @@ -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 diff --git a/plugins/MemcachePlugin.php b/plugins/MemcachePlugin.php index fbc2802f78..bc7fd90765 100644 --- a/plugins/MemcachePlugin.php +++ b/plugins/MemcachePlugin.php @@ -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; }