mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
serverPush -> nodePush
This commit is contained in:
parent
0af43da9e6
commit
f7b5c1d012
@ -136,8 +136,8 @@ public static function gradient($string, $start, $end) {
|
|||||||
*/
|
*/
|
||||||
public static function nodePushRunning() {
|
public static function nodePushRunning() {
|
||||||
if (!CHAT_SOCKET_IO_PATH) return false;
|
if (!CHAT_SOCKET_IO_PATH) return false;
|
||||||
if (!file_exists(WCF_DIR.'acp/be.bastelstu.wcf.chat.serverPush/data.sock')) return false;
|
if (!file_exists(WCF_DIR.'acp/be.bastelstu.wcf.chat.nodePush/data.sock')) return false;
|
||||||
if (!is_writable(WCF_DIR.'acp/be.bastelstu.wcf.chat.serverPush/data.sock')) return false;
|
if (!is_writable(WCF_DIR.'acp/be.bastelstu.wcf.chat.nodePush/data.sock')) return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user