From d58468185cc1172012f24b919de3aca1d5dcda6c Mon Sep 17 00:00:00 2001 From: Robb Ebright Date: Mon, 13 Nov 2017 11:39:11 -0500 Subject: [PATCH] Made rabbitmq settings write to tempfile upon check to fix install bug --- airtime_mvc/build/airtime-setup/forms/rabbitmq-settings.php | 2 +- airtime_mvc/public/setup/rabbitmq-setup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/build/airtime-setup/forms/rabbitmq-settings.php b/airtime_mvc/build/airtime-setup/forms/rabbitmq-settings.php index 052956b0f..3fba10baf 100644 --- a/airtime_mvc/build/airtime-setup/forms/rabbitmq-settings.php +++ b/airtime_mvc/build/airtime-setup/forms/rabbitmq-settings.php @@ -10,7 +10,7 @@

RabbitMQ Settings

- RabbitMQ is an AMQP-based messaging system used by Airtime. You should only edit these settings + RabbitMQ is an AMQP-based messaging system used by Libretime. You should only edit these settings if you have changed the defaults since running the installer, or if you've opted to install RabbitMQ manually.

diff --git a/airtime_mvc/public/setup/rabbitmq-setup.php b/airtime_mvc/public/setup/rabbitmq-setup.php index 53a09d787..21c26d28d 100644 --- a/airtime_mvc/public/setup/rabbitmq-setup.php +++ b/airtime_mvc/public/setup/rabbitmq-setup.php @@ -50,7 +50,6 @@ class RabbitMQSetup extends Setup { } catch(Exception $e) { $this->identifyRMQConnectionError(); } - return array( "message" => self::$message, "errors" => self::$errors @@ -63,6 +62,7 @@ class RabbitMQSetup extends Setup { self::$_properties["user"], self::$_properties["password"], self::$_properties["vhost"]); + $this->writeToTemp(); return isset($conn); }