From d87ecbb3f2aa1c2c3ad19196fb608516a2b32a57 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 22 Oct 2022 19:21:48 -0600 Subject: [PATCH] Add a message variable. --- core/install/resources/classes/install.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/install/resources/classes/install.php b/core/install/resources/classes/install.php index 4cfeffa651..1696c2e718 100644 --- a/core/install/resources/classes/install.php +++ b/core/install/resources/classes/install.php @@ -8,6 +8,7 @@ if (!class_exists('install')) { */ private $app_name; private $app_uuid; + public $message; public $database_host; public $database_port; public $database_name; @@ -71,11 +72,13 @@ if (!class_exists('install')) { //end the script if the config path is not set if (!isset($config_path)) { + $this->message = "Config file path not found\n"; return false; } //config directory is not writable if (!is_writable($config_path)) { + $this->message = "Check permissions ".$config_path." must be writable.\n"; return false; }