403Webshell
Server IP : 65.109.86.83  /  Your IP : 216.73.217.84
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/zodiacshare/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/zodiacshare/zodiacshare.php
<?php

/**
 * Plugin Name: ZodiacShare Share Buttons
 * Plugin URI: https://www.cerseilabs.com
 * Description: ZodiacShare is a Share functionality
 * Author: slavisa perisic
 * Author URI: https://slavisaperisic.com/
 * Version: 1.0.0
 * Text Domain: zshr
 * Domain Path: /languages
 *
 */
// Exit if accessed directly
if (!defined('ABSPATH'))
    exit;

// Plugin version
if (!defined('ZSHR_VERSION')) {
    define('ZSHR_VERSION', '3.8.9');
}

// Debug mode
if (!defined('ZSHR_DEBUG')) {
    define('ZSHR_DEBUG', false);
}


if (!class_exists('ZodiacShare')) :

    final class ZodiacShare
    {
        /**
         * @var ZodiacShare The one and only ZodiacShare
         * @since 1.0
         */
        private static $instance;

        /**
         * ZSHR HTML Element Helper Object
         *
         * @var object
         * @since 2.0.0
         */
        public $html;

        public $logger;

        /**
         * ZSHR TEMPLATE Object
         *
         * @var object
         */
        public $template;

        /**
         * Main ZodiacShare Instance
         *
         * Insures that only one instance of zodiacShare exists in memory at any one
         * time. Also prevents needing to define globals all over the place.
         *
         * @uses zodiacShare::setup_constants() Setup the constants needed
         * @uses zodiacShare::includes() Include the required files
         * @uses zodiacShare::load_textdomain() load the language files
         * @see  ZSHR()
         * @since 1.0
         * @static
         * @staticvar array $instance
         */
        public static function instance()
        {
            if (!isset(self::$instance) && !(self::$instance instanceof ZodiacShare)) {
                self::$instance = new ZodiacShare;
                self::$instance->setup_constants();
                self::$instance->includes();
//                self::$instance->load_textdomain();
//                self::$instance->load_hooks();
//                self::$instance->html = new ZSHR_HTML_Elements();
//                self::$instance->logger = new zshrLogger("mashlog_" . date("Y-m-d") . ".log", zshrLogger::INFO);
//                self::$instance->template = new zshrBuildTemplates();
            }
            return self::$instance;
        }

        /**
         * Throw error on object clone
         *
         * The whole idea of the singleton design pattern is that there is a single
         * object therefore, we don't want the object to be cloned.
         *
         * @return void
         * @since 1.0
         * @access protected
         */
        public function __clone()
        {
            // Cloning instances of the class is forbidden
            _doing_it_wrong(__FUNCTION__, esc_html__('Cheatin&#8217; huh?', 'ZSHR'), '1.0');
        }

        /**
         * Disable unserializing of the class
         *
         * @return void
         * @since 1.0
         * @access protected
         */
        public function __wakeup()
        {
            // Unserializing instances of the class is forbidden
            _doing_it_wrong(__FUNCTION__, esc_html__('Cheatin&#8217; huh?', 'ZSHR'), '1.0');
        }

        /**
         * Setup plugin constants
         *
         * @access private
         * @return void
         * @since 1.0
         */
        private function setup_constants()
        {
            global $wpdb;

            // Plugin Folder Path
            if (!defined('ZSHR_PLUGIN_DIR')) {
                define('ZSHR_PLUGIN_DIR', plugin_dir_path(__FILE__));
            }

            // Plugin Folder URL
            if (!defined('ZSHR_PLUGIN_URL')) {
                define('ZSHR_PLUGIN_URL', plugin_dir_url(__FILE__));
            }

            // Plugin Root File
            if (!defined('ZSHR_PLUGIN_FILE')) {
                define('ZSHR_PLUGIN_FILE', __FILE__);
            }
//
//            // Plugin database
//            // Plugin Root File
//            if (!defined('ZSHR_TABLE')) {
//                define('ZSHR_TABLE', $wpdb->prefix . 'zodiacSharer');
//            }
        }

        /**
         * Include required files
         *
         * @access private
         * @return void
         * @since 1.0
         */
        private function includes()
        {
            global $zshr_options;

//            require_once ZSHR_PLUGIN_DIR . 'includes/admin/settings/register-settings.php';
//            $zshr_options = zshr_get_settings();
            require_once ZSHR_PLUGIN_DIR . 'includes/scripts.php';
            require_once ZSHR_PLUGIN_DIR . 'includes/functions.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/class-zshr-license-handler.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/class-zshr-html-elements.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/debug/classes/MashDebug.interface.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/debug/classes/MashDebug.class.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/logger.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/actions.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/helper.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/class-zshr-shared-posts-widget.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/admin/settings/metabox-settings.php'; /* move into is_admin */
//            require_once ZSHR_PLUGIN_DIR . 'includes/admin/meta-box/meta-box.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/header-meta-tags.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/class-build-templates.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/sharecount-functions.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/shorturls.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/libraries/class-google-shorturl.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/libraries/class-bitly-shorturl.php';
//            //require_once ZSHR_PLUGIN_DIR . 'includes/admin/tracking.php'; // Ensure cron is loading even on frontpage
//            require_once ZSHR_PLUGIN_DIR . 'includes/debug/debug.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/amp.php';
//            require_once ZSHR_PLUGIN_DIR . 'includes/cron.php';

        }

//        public static function load_hooks()
//        {
//            if (is_admin() && zshr_is_plugins_page()) {
//                add_filter('admin_footer', 'zshr_add_deactivation_feedback_modal');
//            }
//        }

//        public function load_textdomain()
//        {
//            // Set filter for plugin's languages directory
//            $zshr_lang_dir = dirname(plugin_basename(ZSHR_PLUGIN_FILE)) . '/languages/';
//            $zshr_lang_dir = apply_filters('zshr_languages_directory', $zshr_lang_dir);
//
//            // Traditional WordPress plugin locale filter
//            $locale = apply_filters('plugin_locale', get_locale(), 'zshr');
//            $mofile = sprintf('%1$s-%2$s.mo', 'zshr', $locale);
//
//            // Setup paths to current locale file
//            $mofile_local = $zshr_lang_dir . $mofile;
//            $mofile_global = WP_LANG_DIR . '/zshr/' . $mofile;
//            //echo $mofile_local;
//            if (file_exists($mofile_global)) {
//                // Look in global /wp-content/languages/ZSHR folder
//                load_textdomain('zshr', $mofile_global);
//            } elseif (file_exists($mofile_local)) {
//                // Look in local /wp-content/plugins/zodiacShare/languages/ folder
//                load_textdomain('zshr', $mofile_local);
//            } else {
//                // Load the default language files
//                load_plugin_textdomain('zshr', false, $zshr_lang_dir);
//            }
//        }

    }

endif; // End if class_exists check


function ZSHR()
{
    return ZodiacShare::instance();
}

// Get ZSHR Running
ZSHR();

Youez - 2016 - github.com/yon3zu
LinuXploit