403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.216.229
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-root ( 1010)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/hotelgerda.ru/wp-content/plugins/mphb-invoices/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/hotelgerda.ru/wp-content/plugins/mphb-invoices/mphb-invoices.php
<?php

/*
 * Plugin Name: Hotel Booking PDF Invoices
 * Plugin URI: https://motopress.com/products/hotel-booking-invoices/
 * Description: Send automated PDF invoices with the booking and payment details to your guests.
 * Version: 1.1.0
 * Author: MotoPress
 * Author URI: https://motopress.com/
 * License: GPLv2 or later
 * Text Domain: mphb-invoices
 * Domain Path: /languages
 */

if (!defined('ABSPATH')) {
    exit;
}

if (version_compare(PHP_VERSION, '7.1', '<')) {
    // Don't show multiple duplicate notices when multiple instances of the
    // plugin are active
    if (!function_exists('mphb_invoice_php_version_error_notice')) {
        add_action('init', 'mphb_invoice_load_translations');
        add_action('admin_notices', 'mphb_invoice_php_version_error_notice');
        function mphb_invoice_load_translations()
        {
            $pluginDir = plugin_dir_path(__FILE__);
            $pluginDir = plugin_basename($pluginDir); // "mphb-invoices" or renamed name

            load_plugin_textdomain('mphb-invoices', false, $pluginDir . '/languages');
        }
        function mphb_invoice_php_version_error_notice()
        {
            echo '<div class="error"><p>' . esc_html__( 'Your version of PHP is below the minimum version of PHP required by Hotel Booking Invoices Addon. Please contact your host and request that your version be upgraded to 7.1 or later.', 'mphb-invoices') . '</p></div>';
        }
    }

} else if (!class_exists('\MPHB\Addons\Invoice\Plugin')) {
    define('MPHB\Addons\Invoice\PLUGIN_FILE', __FILE__);
    define('MPHB\Addons\Invoice\PLUGIN_DIR', plugin_dir_path(__FILE__)); // With trailing slash
    define('MPHB\Addons\Invoice\PLUGIN_URL', plugin_dir_url(__FILE__)); // With trailing slash
    define('MPHB_INVOICE_PLUGIN_DIR', plugin_dir_path(__FILE__));
    include_once __DIR__.'/includes/mphb-invoice-dependency.php';
    $mphb_invoice_dependency = new MPHB_Invoice_Dependencies();
    if (!function_exists('is_plugin_active') || !$mphb_invoice_dependency->check()) {
        return;
    }
    if (!class_exists('HTML5_Parser')){
        include_once __DIR__ . '/vendors/dompdf/autoload.inc.php';
    }
    require __DIR__ . '/includes/functions.php';
    require __DIR__ . '/includes/autoloader.php';
    mphbinvoice();
    require __DIR__ . '/includes/actions-and-filters.php';
}

Youez - 2016 - github.com/yon3zu
LinuXploit