| Server IP : 172.67.201.108 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/ndb/wp-content/w3-total-cache/ |
Upload File : |
<?php
namespace W3TC;
if ( !defined( 'W3TC' ) )
die();
?>
<?php
Util_Ui::postbox_header( __( 'Monitoring', 'w3-total-cache' ), '', 'monitoring' );
Util_Ui::config_overloading_button( array(
'key' => 'newrelic.configuration_overloaded'
) );
?>
<?php if ( !$new_relic_installed ): ?>
<p><?php echo sprintf(
w3tc_er( 'newrelic.general.header', 'New Relic may not be installed or not active on this server. <a href="%s" target="_blank">Sign up for a (free) account</a>. Visit <a href="%s" target="_blank">New Relic</a> for installation instructions.' ),
esc_url( W3TC_NEWRELIC_SIGNUP_URL ),
esc_url( 'https://newrelic.com/docs/php/new-relic-for-php' ) )
?>
</p>
<?php endif; ?>
<table class="form-table">
<tr>
<th>
<label for="newrelic_api_key"><?php
_e( '<acronym title="Application Programming Interface">API</acronym> key:', 'w3-total-cache' )
?></label>
</th>
<td class="w3tc-td-with-button">
<?php echo htmlspecialchars( $config->get_string( array( 'newrelic', 'api_key' ) ) ) ?>
<input type="button" class="button w3tcnr_configure" value="Configure"
<?php Util_Ui::sealing_disabled( 'newrelic' ) ?> />
</td>
</tr>
<tr>
<th>
<label><?php _e( 'Application name:' , 'w3-total-cache' ) ?></label>
</th>
<td class="w3tc-td-with-button"><?php
if ( $config->get_string( array( 'newrelic', 'monitoring_type' ) ) == 'browser' )
echo '(browser) ';
echo htmlspecialchars( $effective_appname );
?></td>
</tr>
</table>
<?php Util_Ui::button_config_save( 'general_newrelic' ); ?>
<?php Util_Ui::postbox_footer(); ?>