Made rabbitmq settings write to tempfile upon check to fix install bug

This commit is contained in:
Robb Ebright 2017-11-13 11:39:11 -05:00
parent 0dd0a443ff
commit d58468185c
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<h3 class="form-title">RabbitMQ Settings</h3> <h3 class="form-title">RabbitMQ Settings</h3>
<span id="helpBlock" class="help-block help-message"></span> <span id="helpBlock" class="help-block help-message"></span>
<p> <p>
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. if you have changed the defaults since running the installer, or if you've opted to install RabbitMQ manually.
</p> </p>
<p> <p>

View File

@ -50,7 +50,6 @@ class RabbitMQSetup extends Setup {
} catch(Exception $e) { } catch(Exception $e) {
$this->identifyRMQConnectionError(); $this->identifyRMQConnectionError();
} }
return array( return array(
"message" => self::$message, "message" => self::$message,
"errors" => self::$errors "errors" => self::$errors
@ -63,6 +62,7 @@ class RabbitMQSetup extends Setup {
self::$_properties["user"], self::$_properties["user"],
self::$_properties["password"], self::$_properties["password"],
self::$_properties["vhost"]); self::$_properties["vhost"]);
$this->writeToTemp();
return isset($conn); return isset($conn);
} }