HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: /var/www/html/wp-content/plugins/gravityforms/includes/config/items/class-gf-config-global.php
<?php

namespace Gravity_Forms\Gravity_Forms\Config\Items;

/**
 * Acts as a container for any Global Config data we need to send to both
 * the admin and theme side of the ecosystem.
 *
 * @since 2.7
 */
class GF_Config_Global {

	/**
	 * The data to send to both configs.
	 *
	 * @return array
	 */
	public function data() {
		return array(
			'hmr_dev'     => defined( 'GF_ENABLE_HMR' ) && GF_ENABLE_HMR,
			'public_path' => trailingslashit( \GFCommon::get_base_url() ) . 'assets/js/dist/',
			'config_nonce' => wp_create_nonce( 'gform_config_ajax' ),
		);
	}

}