From 939a30a4be2b5e8d9b62599a3d2ef6069a57d08d Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 7 Jan 2021 22:53:00 +0200 Subject: [PATCH 1/2] Spacing --- app/tasks/vars.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/tasks/vars.php b/app/tasks/vars.php index 58b21a18ec..6c02348222 100644 --- a/app/tasks/vars.php +++ b/app/tasks/vars.php @@ -13,7 +13,6 @@ $cli $config = Config::getParam('variables', []); $vars = []; - foreach($config as $category) { foreach($category['variables'] ?? [] as $var) { $vars[] = $var; From afc43feb7fc527b69d3f2cb069a016ea30ad8955 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 7 Jan 2021 23:48:32 +0200 Subject: [PATCH 2/2] Updated docs --- app/config/variables.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/config/variables.php b/app/config/variables.php index 59de920221..78e684c313 100644 --- a/app/config/variables.php +++ b/app/config/variables.php @@ -97,7 +97,7 @@ return [ ], [ 'category' => 'Redis', - 'description' => '', + 'description' => 'Appwrite uses a Redis server for managing cache, queues and scheduled tasks. The Redis env vars are used to allow Appwrite server to connect to the Redis container.', 'variables' => [ [ 'name' => '_APP_REDIS_HOST', @@ -119,7 +119,7 @@ return [ ], [ 'category' => 'MariaDB', - 'description' => '', + 'description' => 'Appwrite is using a MariaDB server for managing persistent database data. The MariaDB env vars are used to allow Appwrite server to connect to the MariaDB container.', 'variables' => [ [ 'name' => '_APP_DB_HOST', @@ -165,7 +165,7 @@ return [ ], [ 'category' => 'InfluxDB', - 'description' => '', + 'description' => 'Appwrite uses an InfluxDB server for managing time-series data and server stats. The InfluxDB env vars are used to allow Appwrite server to connect to the InfluxDB container.', 'variables' => [ [ 'name' => '_APP_INFLUXDB_HOST', @@ -187,7 +187,7 @@ return [ ], [ 'category' => 'StatsD', - 'description' => '', + 'description' => 'Appwrite uses a StatsD server for aggregating and sending stats data over a fast UDP connection. The StatsD env vars are used to allow Appwrite server to connect to the StatsD container.', 'variables' => [ [ 'name' => '_APP_STATSD_HOST', @@ -209,7 +209,7 @@ return [ ], [ 'category' => 'SMTP', - 'description' => '', + 'description' => "Appwrite is using an SMTP server for emailing your projects users and server admins. The SMTP env vars are used to allow Appwrite server to connect to the SMTP container.\n\nIf running in production, it might be easier to use a 3rd party SMTP server as it might be a little more difficult to set up a production SMTP server that will not send all your emails into your user's SPAM folder.", 'variables' => [ [ 'name' => '_APP_SMTP_HOST',