forked from GNUsocial/gnu-social
queue daemon fixes: path fix for xmpp, suppress warning in memcached init
This commit is contained in:
parent
255f49067d
commit
cb962ed475
@ -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