GRAYBYTE WORDPRESS FILE MANAGER1673

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/burst-statistics/src/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/burst-statistics/src//class-burst.php
<?php
namespace Burst;

use Burst\Admin\Admin;
use Burst\Admin\Capability\Capability;
use Burst\Frontend\Frontend;
use Burst\Frontend\Frontend_Admin;
use Burst\Pro\Pro;
use Burst\Integrations\Integrations;
use Burst\Traits\Admin_Helper;
use Burst\Admin\AutoInstaller\Auto_Installer;

if ( class_exists( 'Burst' ) ) {
	class Burst {}
} else {
	// ignore the 'only one object' rule, as it is a trick for compatibility.
    //phpcs:ignore
	class Burst {

		use Admin_Helper;

		public Admin $admin;
		public Pro $pro;
		public Frontend $frontend;
		public Frontend_Admin $frontend_admin;
		public Integrations $integrations;

		public ?bool $user_can_manage   = null;
		public ?bool $user_can_view     = null;
		public ?bool $has_admin_access  = null;
		public ?bool $is_logged_in_rest = null;
		public string $admin_url;
		/**
		 * Constructor
		 */
		public function __construct() {
			add_action( 'plugins_loaded', [ $this, 'init' ], 9 );
		}

		/**
		 * Initialize the constants
		 */
		public function constants(): void {
			$plugin_file = defined( 'BURST_PRO_FILE' ) ? BURST_PRO_FILE : BURST_FREE_FILE;
			define( 'BURST_FILE', $plugin_file );
			define( 'BURST_PATH', defined( 'BURST_PRO_FILE' ) ? dirname( BURST_PRO_FILE ) . '/' : dirname( BURST_FREE_FILE ) . '/' );

			$plugin_url = plugin_dir_url( BURST_FILE );
			$scheme     = ( strpos( site_url(), 'https://' ) === 0 ) ? 'https' : 'http';
			$plugin_url = set_url_scheme( $plugin_url, $scheme );
			define( 'BURST_URL', $plugin_url );
			define( 'BURST_DASHBOARD_URL', admin_url( 'admin.php?page=burst' ) );
			define( 'BURST_PLUGIN', plugin_basename( BURST_FILE ) );
			define( 'BURST_PLUGIN_NAME', defined( 'BURST_PRO' ) ? 'Burst Pro' : 'Burst Statistics' );

			$burst_plugin = explode( '/', BURST_PLUGIN );
			array_pop( $burst_plugin );
			$burst_plugin = implode( '/', $burst_plugin );
			define( 'BURST_VERSION', '2.2.0' );
			// deprecated constant.
            //phpcs:ignore
            define( 'burst_version', BURST_VERSION );
			define( 'BURST_ITEM_ID', 889 );
			define( 'BURST_PRODUCT_NAME', 'Burst Pro' );
		}

		/**
		 * Initialize the plugin
		 */
		public function init(): void {
			$this->constants();
			// not using the formdata.
            //phpcs:ignore
            if ( isset( $_GET['install_pro'] ) ) {
				new Auto_Installer( 'burst-statistics' );
			}

			$this->integrations = new Integrations();
			$this->integrations->init();

			if ( is_user_logged_in() ) {
				$this->frontend_admin = new Frontend_Admin();
				$this->frontend_admin->init();
			}

			if ( $this->has_admin_access() ) {
				$this->admin = new Admin();
				$this->admin->init();
				$capability = new Capability();
				$capability->init();

				if ( defined( 'BURST_PRO_FILE' ) ) {
					$this->pro = new Pro();
					$this->pro->init();
				}
			}
			$this->frontend = new Frontend();
			$this->frontend->init();
		}
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
Admin
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
Frontend
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
Integrations
--
July 10 2025 04:32:25
inteuuod / inteuuod
0755
TeamUpdraft
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
Traits
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
types
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:24
inteuuod / inteuuod
0644
autoload.php
1.362 KB
June 23 2025 16:07:48
inteuuod / inteuuod
0644
class-burst.php
2.814 KB
July 07 2025 16:45:26
inteuuod / inteuuod
0644
class-compatibility.php
0.423 KB
May 19 2025 18:26:52
inteuuod / inteuuod
0644
functions.php
1.583 KB
May 19 2025 18:26:52
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF