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);
|
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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user