HEX
Server: Apache
System: Linux web2213.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: clinicamaciel (596848)
PHP: 7.3.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/clinicamaciel/www/wp-content/plugins/w3-total-cache/PgCache_Page.php
<?php
namespace W3TC;



class PgCache_Page extends Base_Page_Settings {
	static public function admin_print_scripts_w3tc_pgcache() {
		wp_enqueue_script( 'w3tc-options-validator', plugins_url( 'pub/js/options-validator.js', W3TC_FILE ), array(), W3TC_VERSION );

		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' );
	}



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


	/**
	 * Page cache tab
	 *
	 * @return void
	 */
	function view() {
		global $wp_rewrite;

		$feeds = $wp_rewrite->feeds;

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

		if ( $feed_key !== false ) {
			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';
	}
}