forked from GNUsocial/gnu-social
queue daemon fixes: path fix for xmpp, suppress warning in memcached init
This commit is contained in:
parent
35a2f8de4d
commit
b25deaacea
@ -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
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user