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/Generic_Page_Dashboard.php
<?php
namespace W3TC;



class Generic_Page_Dashboard extends Base_Page_Settings {
	static public function admin_print_styles_w3tc_dashboard() {
		wp_enqueue_style( 'w3tc-dashboard',
			plugins_url( 'Generic_Page_Dashboard_View.css', W3TC_FILE ),
			array(), W3TC_VERSION );
	}

	/**
	 * Current page
	 *
	 * @var string
	 */
	protected $_page = 'w3tc_dashboard';


	/**
	 * Dashboard tab
	 */
	function view() {
		$module_status = Dispatcher::component( 'ModuleStatus' );
		Util_Widget::setup();
		$current_user = wp_get_current_user();
		$config_master = $this->_config_master;

		$browsercache_enabled = $module_status->is_enabled( 'browsercache' );

		$enabled = $module_status->plugin_is_enabled();

		$can_empty_memcache = $module_status->can_empty_memcache();

		$can_empty_opcode = $module_status->can_empty_opcode();

		$can_empty_file = $module_status->can_empty_file();

		$can_empty_varnish = $module_status->can_empty_varnish();

		$cdn_enabled = $module_status->is_enabled( 'cdn' );
		$cdn_mirror_purge = Cdn_Util::can_purge_all( $module_status->get_module_engine( 'cdn' ) );


		// Required for Update Media Query String button
		$browsercache_update_media_qs = ( $this->_config->get_boolean( 'browsercache.cssjs.replace' ) || $this->_config->get_boolean( 'browsercache.other.replace' ) );

		include W3TC_INC_DIR . '/options/dashboard.php';
	}
}