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/zaklada/wp-content/plugins/w3-total-cache/Mobile_Page_UserAgentGroups.php
<?php
namespace W3TC;



class Mobile_Page_UserAgentGroups extends Base_Page_Settings {
	/**
	 * Current page
	 *
	 * @var string
	 */
	protected $_page = 'w3tc_mobile';


	/**
	 * Mobile tab
	 *
	 * @return void
	 */
	function view() {
		$c = Dispatcher::config();

		$groups = array(
			'value' => $c->get_array( 'mobile.rgroups' ),
			'disabled' => $c->is_sealed( 'mobile.rgroups' ),
			'description' =>
			'<li>' .
			__( 'Enabling even a single user agent group will set a cookie called "w3tc_referrer." It is used to ensure a consistent user experience across page views. Make sure any reverse proxy servers etc respect this cookie for proper operation.',
				'w3-total-cache' ) .
			'</li>' .
			'<li>' .
			__( 'Per the above, make sure that visitors are notified about the cookie as per any regulations in your market.',
				'w3-total-cache' ) .
			'</li>'
		);

		$groups = apply_filters( 'w3tc_ui_config_item_mobile.rgroups', $groups );

		$w3_mobile = Dispatcher::component( 'Mobile_UserAgent' );
		$themes = $w3_mobile->get_themes();

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

}