HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/hcv/wp-content/plugins/w3-total-cache/Extension_NewRelic_GeneralPage_View.php
<?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(); ?>