403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.141
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/6pocketz/wp-content/plugins/angie/modules/sidebar/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/6pocketz/wp-content/plugins/angie/modules/sidebar/module.php
<?php

namespace Angie\Modules\Sidebar;

use Angie\Classes\Module_Base;

use Angie\Modules\ConsentManager\Module as ConsentManagerModule;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Sidebar Module
 *
 * Manages the toggleable sidebar that pushes WordPress content to the right
 * with RTL support, accessibility compliance, and iframe integration.
 */
class Module extends Module_Base {

	/**
	 * Get module name.
	 *
	 * @return string Module name.
	 */
	public function get_name(): string {
		return 'sidebar';
	}

	/**
	 * Check if module is active.
	 *
	 * Sidebar is only active for administrators who have given consent and enabled Angie.
	 *
	 * @return bool True if module should be active.
	 */
	public static function is_active(): bool {
		return ConsentManagerModule::has_consent() && current_user_can( 'use_angie' );
	}

	/**
	 * Constructor
	 *
	 * Registers all sidebar components for automatic loading.
	 */
	public function __construct() {
		$this->register_components([
			'Sidebar_HTML',
			'Sidebar_Css_Injector',
			'Sidebar_Admin_Bar',
		]);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit