From 26e80e251ec3cff8c358e1f5f8bfd86de2b0ad11 Mon Sep 17 00:00:00 2001 From: neilsunw Date: Sat, 8 Feb 2020 22:53:40 -0500 Subject: [PATCH] update $messageQueue_Plugin for FPP v3.x lines 27 - 30, fix plugin name to match FPP v3.x odd typo on "if (strpos($pluginName, "FPP-Plugin") !== false)" the "!==" should be "!=" or "==" felt it was better just to drop the extra name checking and set $messageQueue_Plugin for current naming --- matrix.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/matrix.php b/matrix.php index 4323bcc..15931b0 100755 --- a/matrix.php +++ b/matrix.php @@ -24,10 +24,10 @@ require ("lock.helper.php"); define('LOCK_DIR', '/tmp/'); define('LOCK_SUFFIX', $pluginName.'.lock'); -$messageQueue_Plugin = "MessageQueue"; -if (strpos($pluginName, "FPP-Plugin") !== false) { - $messageQueue_Plugin = "FPP-Plugin-MessageQueue"; -} +$messageQueue_Plugin = "FPP-Plugin-MessageQueue"; // NBP 2/2/2020 +//if (strpos($pluginName, "FPP-Plugin") !== false) { +// $messageQueue_Plugin = "FPP-Plugin-MessageQueue"; +//} $MESSAGE_QUEUE_PLUGIN_ENABLED=false; $fpp_matrixtools_Plugin = "fpp-matrixtools";