HEX
Server: Apache/2
System: Linux sm.stlbg.net 3.10.0-962.3.2.lve1.5.87.el7.x86_64 #1 SMP Tue Jan 28 09:38:56 UTC 2025 x86_64
User: todorterziev (1053)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/todorterziev/domains/todorterziev.com/private_html/wp-content/plugins/cyrlitera/clearfy.php
<?php
/**
 * Этот файл инициализирует этот плагин, как аддон для плагина Clearfy.
 *
 * Файл будет подключен только в плагине Clearfy, используя особый вариант загрузки. Это более простое решение
 * пришло на смену встроенной системы подключения аддонов в фреймворке.
 *
 * @author        Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
 * @copyright (c) 2018 Webraftic Ltd
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! defined( 'WCTR_PLUGIN_ACTIVE' ) ) {
	define( 'WCTR_PLUGIN_VERSION', '1.2.0' );
	define( 'WCTR_TEXT_DOMAIN', 'cyrlitera' );
	define( 'WCTR_PLUGIN_ACTIVE', true );

	// Этот плагин загружен, как аддон для плагина Clearfy
	define( 'LOADING_CYRLITERA_AS_ADDON', true );

	if ( ! defined( 'WCTR_PLUGIN_DIR' ) ) {
		define( 'WCTR_PLUGIN_DIR', dirname( __FILE__ ) );
	}

	if ( ! defined( 'WCTR_PLUGIN_BASE' ) ) {
		define( 'WCTR_PLUGIN_BASE', plugin_basename( __FILE__ ) );
	}

	if ( ! defined( 'WCTR_PLUGIN_URL' ) ) {
		define( 'WCTR_PLUGIN_URL', plugins_url( '', __FILE__ ) );
	}

	try {
		// Global scripts
		require_once( WCTR_PLUGIN_DIR . '/includes/class-helpers.php' );
		require_once( WCTR_PLUGIN_DIR . '/includes/3rd-party/class-clearfy-plugin.php' );
		new WCTR_Plugin();
	} catch( Exception $e ) {
		$wctr_plugin_error_func = function () use ( $e ) {
			$error = sprintf( "The %s plugin has stopped. <b>Error:</b> %s Code: %s", 'Webcraftic Cyrlitera', $e->getMessage(), $e->getCode() );
			echo '<div class="notice notice-error"><p>' . $error . '</p></div>';
		};

		add_action( 'admin_notices', $wctr_plugin_error_func );
		add_action( 'network_admin_notices', $wctr_plugin_error_func );
	}
}