| Server IP : 89.108.64.180 / Your IP : 216.73.217.95 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/rostovdvorik.ru/wp-content/plugins/yith-maintenance-mode/ |
Upload File : |
<?php
/**
* Plugin Name: YITH Maintenance Mode
* Plugin URI: https://yithemes.com/themes/plugins/yith-maintenance-mode/
* Description: YITH Maintenance Mode allows you to add a maintenance page and customize it.
* Version: 1.10.4
* Author: YITH <plugins@yithemes.com>
* Author URI: http://yithemes.com/
* Text Domain: yith-maintenance-mode
* Domain Path: /languages/
*
* @author YITH <plugins@yithemes.com>
* @package YITH Maintenance Mode
* @version 1.10.4
*/
/** Copyright 2013-2024 YITH (email : plugins@yithemes.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
/* Include common functions */
if ( ! defined( 'YITH_FUNCTIONS_YMM' ) ) {
define( 'YITH_FUNCTIONS_YMM', true );
require_once 'yit-common/yit-functions.php';
}
! defined( 'YITH_MAINTENANCE' ) && define( 'YITH_MAINTENANCE', true );
define( 'YITH_MAINTENANCE_URL', plugin_dir_url( __FILE__ ) );
define( 'YITH_MAINTENANCE_DIR', plugin_dir_path( __FILE__ ) );
// Load required classes and functions.
require_once 'functions.yith-mm.php';
require_once 'class.yith-mm-admin.php';
require_once 'class.yith-mm-frontend.php';
require_once 'class.yith-mm.php';
// Let's start the game!
global $yith_maintenance;
$yith_maintenance = new YITH_Maintenance();