HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //wordpress/mu-plugins/vendasta-config.php
<?php
/**
 * Vendasta Platform Configuration
 *
 * Platform-managed mu-plugin. Do not edit — this file is deployed and
 * maintained by Vendasta. Changes will be overwritten on next deployment.
 */

if ( ! class_exists( 'Atomic_Persistent_Data' ) ) {
	return;
}

$_wsp_data = new Atomic_Persistent_Data();

// -------------------------------------------------------------------------
// Environment — defines manager URL based on site environment.
// -------------------------------------------------------------------------
$_wsp_env = strtolower( (string) ( $_wsp_data->WSP_SITE_ENVIRONMENT ?? '' ) );

$_wsp_manager_urls = [
	'prod' => 'https://wp-cloud-manager-prod.apigateway.co',
	'demo' => 'https://wp-cloud-manager-demo.apigateway.co',
];

if ( isset( $_wsp_manager_urls[ $_wsp_env ] ) && ! defined( 'WPCC_MANAGER_URL' ) ) {
	define( 'WPCC_MANAGER_URL', $_wsp_manager_urls[ $_wsp_env ] );
}

// -------------------------------------------------------------------------
// Multisite — set when WSP_SITE_TYPE = MULTISITE.
// -------------------------------------------------------------------------
$_wsp_multisite = 'MULTISITE' === strtoupper( trim( (string) ( $_wsp_data->WSP_SITE_TYPE ?? '' ) ) );

if ( $_wsp_multisite ) {
    if ( ! defined( 'WSP_MAX_SITE_LIMIT' ) ) define( 'WSP_MAX_SITE_LIMIT', 5 );
}

// Clean up — avoid polluting global scope.
unset( $_wsp_data, $_wsp_env, $_wsp_manager_urls, $_wsp_multisite );