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.
This commit is contained in:
+2
-1
@@ -1,4 +1,4 @@
|
||||
<?php global $CONFIG_DB, $DEBUG, $ENCRYPTION_KEY, $CORS, $ECONOMIC_API, $WORDPRESS_STATIC_TOKEN, $USE_PROD_ECONOMIC_IN_DEBUG, $REDIS_CONFIG, $EMAIL_WASH_CERTIFICATE_TOKEN, $MINIO;
|
||||
<?php global $CONFIG_DB, $DEBUG, $ENCRYPTION_KEY, $CORS, $ECONOMIC_API, $WORDPRESS_STATIC_TOKEN, $USE_PROD_ECONOMIC_IN_DEBUG, $REDIS_CONFIG, $EMAIL_WASH_CERTIFICATE_TOKEN, $MINIO, $WORDPRESS_API_URL;
|
||||
$CONFIG_DB = [
|
||||
'host' => '', // 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
|
||||
|
||||
Reference in New Issue
Block a user