403Webshell
Server IP : 192.158.238.246  /  Your IP : 3.137.180.196
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/jenniferflocom/www/wp-content/plugins/wp-heyloyalty/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jenniferflocom/www/wp-content/plugins/wp-heyloyalty/wp-heyloyalty.php
<?php
/*
Plugin Name: wp-heyloyalty
Version: v1.1.4
Plugin URI: https://heyloyalty.com/plugins/wordpress
Description: Integrates with heyloyalty email platform
Author: René Skou Jensen
Text Domain: wp-heyloyalty
Domain Path: /languages/
License: GPL v3
*/
/**
 * Main file
 */
if ( ! defined( 'ABSPATH' ) ) {
	header( 'Status: 403 Forbidden' );
	header( 'HTTP/1.1 403 Forbidden' );
	exit;
}
/**
 * @return Heyloyalty\\Plugin
 */
function wp_heyloyalty() {
	static $instance;
	if( is_null( $instance ) ) {
		$classname =  'Heyloyalty\\Plugin';
		$id = 0;
		$file = __FILE__;
		$dir = dirname( __FILE__ );
		$name = 'Wp Heyloyalty';
		$version = '1.1.4';
        $slug = 'wp-heyloylty';
		$instance = new $classname(
			$id,
			$name,
			$version,
			$file,
			$dir,
            $slug
		);
	}
	return $instance;
}
// wrapper function to move out of global namespace
function __load_wp_heyloyalty() {
	// load autoloader & init plugin
	require dirname( __FILE__ ) . '/vendor/autoload.php';
	// fetch instance and store in global
	$GLOBALS['wp_heyloyalty'] = wp_heyloyalty();
	// register activation hook
	register_activation_hook( __FILE__, "__activate_wp_heyloyalty_plugin" );

}
function __load_wp_heyloyalty_fallback() {
    //todo
}
function __activate_wp_heyloyalty_plugin() {
	$plugin_dir = plugin_dir_path( __FILE__ ) . 'hl-webhooks.php';
	$content_dir = WP_CONTENT_DIR.'/hl-webhooks.php';

	if (!copy($plugin_dir, $content_dir)) {

	}
}
if( version_compare( PHP_VERSION, '5.3', '>=' ) ) {
	__load_wp_heyloyalty();
} else {
	//todo
}

Youez - 2016 - github.com/yon3zu
LinuXploit