From 07627e6db73ada4935bf62046d9019ebb38ff7f9 Mon Sep 17 00:00:00 2001 From: Jepp9350 <2jepp9350@gmail.com> Date: Tue, 21 Jan 2025 22:28:47 +0100 Subject: [PATCH] Add WORDPRESS_API_URL to config example file Introduced a new global variable, WORDPRESS_API_URL, for defining the WordPress API ajax endpoint. This change ensures better configuration clarity and simplifies setup for WordPress integration. --- config.example.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.example.php b/config.example.php index 4ee93b9a..cb6f0939 100644 --- a/config.example.php +++ b/config.example.php @@ -1,4 +1,4 @@ - '', // IP address of the database server e.g. 127.0.0.1 'user' => '', // Username of the database server e.g. root @@ -23,6 +23,7 @@ if ($DEBUG && !$USE_PROD_ECONOMIC_IN_DEBUG) { } $WORDPRESS_STATIC_TOKEN = ''; // Static token used to authenticate the WordPress plugin $EMAIL_WASH_CERTIFICATE_TOKEN = ''; // Token used to authenticate the wash certificate generator +$WORDPRESS_API_URL = ''; // URL to the WordPress API ajax endpoint e.g. https://example.com/wp-admin/admin-ajax.php $MINIO = [ 'endpoint' => '', // Minio endpoint e.g. http://0.0.0.0:9000 'access_key' => '', // Minio access