HEX
Server: Apache
System: Linux server1.adamthecomputerguy.com 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
User: jcorr (10056)
PHP: 8.2.30
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/jcorrmechanical.com/httpdocs/wp-content/plugins/filester/includes/I18n.php
<?php
namespace NinjaFileManager;

defined('ABSPATH') || exit;
/**
 * I18n Logic
 */
class I18n {
  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, 'loadPluginTextdomain'));
  }

  public function loadPluginTextdomain() {
    load_plugin_textdomain(
      'filester',
      false,
      NJT_FS_BN_PLUGIN_URL . 'i18n/languages/'
    );
  }
}