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/linde/wp-content/plugins/w3-total-cache/PgCache_Page.php
<?php
/**
 * File: PgCache_Flush.php
 *
 * @package W3TC
 */

namespace W3TC;

/**
 * Class PgCache_Page
 *
 * phpcs:disable PSR2.Classes.PropertyDeclaration.Underscore
 */
class PgCache_Page extends Base_Page_Settings {
	/**
	 * Current page
	 *
	 * @var string
	 */
	protected $_page = 'w3tc_pgcache';

	/**
	 * Enqueues and registers scripts related to the W3 Total Cache PgCache settings page.
	 *
	 * @return void
	 */
	public static function admin_print_scripts_w3tc_pgcache() {
		wp_enqueue_script( 'w3tc-options-validator', plugins_url( 'pub/js/options-validator.js', W3TC_FILE ), array(), W3TC_VERSION, false );

		wp_register_script( 'w3tc-pgcache-qsexempts', plugins_url( 'PgCache_Page_View.js', W3TC_FILE ), array(), W3TC_VERSION, true );

		wp_localize_script(
			'w3tc-pgcache-qsexempts',
			'W3TCPgCacheQsExemptsData',
			array(
				'defaultQsExempts' => PgCache_QsExempts::get_qs_exempts(),
			)
		);

		wp_enqueue_script( 'w3tc-pgcache-qsexempts' );
	}

	/**
	 * Displays the view for the PgCache settings page.
	 *
	 * @return void
	 */
	public function view() {
		global $wp_rewrite;

		$feeds = $wp_rewrite->feeds;

		$feed_key = array_search( 'feed', $feeds, true );

		if ( false !== $feed_key ) {
			unset( $feeds[ $feed_key ] );
		}

		$default_feed        = get_default_feed();
		$pgcache_enabled     = $this->_config->get_boolean( 'pgcache.enabled' );
		$permalink_structure = get_option( 'permalink_structure' );

		$varnish_enabled = $this->_config->get_boolean( 'varnish.enabled' );
		$cdnfsd_enabled  = $this->_config->get_boolean( 'cdnfsd.enabled' );

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