| Server IP : 216.106.184.20 / Your IP : 216.73.216.234 Web Server : LiteSpeed System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64 User : sekoaid1 ( 1891) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/sekoaid1/www/wp-content/plugins/file-manager-advanced/ |
Upload File : |
<?php
/**
Plugin Name: File Manager Advanced
Plugin URI: https://wordpress.org/plugins/file-manager-advanced
Description: Cpanel for files management in wordpress
Author: wpexpertsio
Version: 5.4.6
Author URI: https://wpexperts.io
License: GPLv2
**/
/**
* Loading constants
*/
require_once('constants.php');
/*
* Advanced File Manager
* Text Domain
*/
add_action('plugins_loaded', 'advanced_file_manager_load_text_domain');
function advanced_file_manager_load_text_domain()
{
$domain = dirname(plugin_basename(__FILE__));
$locale = apply_filters('plugin_locale', get_locale(), $domain);
load_textdomain($domain, trailingslashit(WP_LANG_DIR).'plugins'.'/'.$domain.'-'.$locale.'.mo');
load_plugin_textdomain($domain, false, basename(dirname(__FILE__)).'/languages/');
}
/**
* Main application
*/
if(is_admin()) {
include('application/class_fma_main.php');
new class_fma_main;
}
/**
* Shortcode class
*/
include('application/class_fma_shortcode.php');
include 'application/rest-api/class-fma-controller.php';
/**
* Blocks class (for free version)
*/
if ( ! class_exists( 'file_manager_advanced_shortcode' ) ) {
require_once( 'application/class_fma_blocks.php' );
// Instantiate the class
if ( class_exists( 'class_fma_blocks' ) ) {
new class_fma_blocks();
}
}