CFGP_MULTISITE

This constant adjusts the functionality of the CF Geo Plugin to adapt for the WordPress Multisite architecture.

Generally, this constant should not be changed, it automatically adjusts to the WordPress architecture but due to possible conflicts with other plugins, we left it optional.

Source

File: /cf-geoplugin/cf-geoplugin.php

if( ! defined( 'CFGP_MULTISITE' ) && defined( 'WP_ALLOW_MULTISITE' ) && WP_ALLOW_MULTISITE )			
{
	define( 'CFGP_MULTISITE', WP_ALLOW_MULTISITE );
}
else if( ! defined( 'CFGP_MULTISITE' ) )			
{
	// New safer approach
	if( !function_exists( 'is_plugin_active_for_network' ) )
		include ABSPATH . '/wp-admin/includes/plugin.php';

	define( 'CFGP_MULTISITE', is_plugin_active_for_network( CFGP_ROOT . '/cf-geoplugin.php' ) );
}

Example

These constant must be placed within your wp-config.php file:

define('CFGP_MULTISITE', true);