403Webshell
Server IP : 194.61.116.167  /  Your IP : 216.73.217.84
Web Server : Apache/2
System : Linux nimbus2000.evosiber.com 5.14.0-503.11.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 12 09:26:13 EST 2024 x86_64
User : evoplastik ( 1130)
PHP Version : 8.1.34
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/evoplastik/public_html/wp-content/plugins/mesmerize-companion/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/evoplastik/public_html/wp-content/plugins/mesmerize-companion//mesmerize-companion.php
<?php
/* 
 *	Plugin Name: Mesmerize Companion
 *  Author: Extend Themes
 *  Description: The Mesmerize Companion plugin adds drag and drop page builder functionality to the Mesmerize theme.
 *
 * License: GPLv3 or later
 * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
 * Version: 1.6.132
 * Text Domain: mesmerize-companion
 */

// Make sure that the companion is not already active from another theme

if (defined("EXTENDTHEMES_NO_COMPANION") && EXTENDTHEMES_NO_COMPANION) {
    return;
}

if (!defined("MESMERIZE_COMPANION_PHP_VERSION")) {
    define("MESMERIZE_COMPANION_PHP_VERSION", "5.4");
}

if (!defined("MESMERIZE_COMPANION_VERSION")) {
    define("MESMERIZE_COMPANION_VERSION", "1.6.132");
}

function mesmerize_companion_php_version_notice()
{
?>
    <div class="notice notice-alt notice-error notice-large">
        <h4><?php _e('Mesmerize Companion can not run!', 'mesmerize-companion'); ?></h4>
        <p>
            <?php _e('You need to update your PHP version to use the <strong>Mesmerize Companion</strong>.', 'mesmerize-companion'); ?> <br />
            <?php _e('Current php version is:', 'mesmerize') ?> <strong>
                <?php echo phpversion(); ?></strong>, <?php _e('and the minimum required version is ', 'mesmerize-companion') ?>
            <strong><?php echo MESMERIZE_COMPANION_PHP_VERSION; ?></strong>
        </p>
    </div>
<?php
}

if (version_compare(phpversion(), MESMERIZE_COMPANION_PHP_VERSION, '<')) {
    add_action('admin_notices', 'mesmerize_companion_php_version_notice');

    return;
}


if (!defined("MESMERIZE_COMPANION_AUTOLOAD")) {
    require_once __DIR__ . "/vendor/autoload.php";
    define("MESMERIZE_COMPANION_AUTOLOAD", true);
}


require_once __DIR__ . "/support/wp-5.8.php";
Mesmerize\Companion::load(__FILE__);
add_filter('mesmerize_is_companion_installed', '__return_true');

add_action('plugins_loaded', 'mesmerize_companion_load_text_domain');

function mesmerize_companion_load_text_domain()
{
    load_plugin_textdomain('mesmerize-companion', false, basename(dirname(__FILE__)) . '/languages');
}


function mesmerize_get_edit_in_mesmerize_label()
{
    $template = get_template();
    $stylesheet = get_stylesheet();

    $theme = $template;

    if (in_array($stylesheet, array('highlight', 'empowerwp'))) {
        $theme = $stylesheet;
    }

    $theme_name = str_replace(' PRO', '', wp_get_theme($theme)->get('Name'));

    return sprintf(__('Edit with %s', 'mesmerize-companion'), $theme_name);
}

Youez - 2016 - github.com/yon3zu
LinuXploit