403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.217.92
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/spacev13.ru/wp-content/plugins/cyrlitera/libs/factory/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/spacev13.ru/wp-content/plugins/cyrlitera/libs/factory/templates/boot.php
<?php
/**
 * Factory Templates
 *
 * @author        Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
 * @since         1.0.2
 * @package       clearfy
 * @copyright (c) 2018, Webcraftic Ltd
 *
 */

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

if ( defined( 'FACTORY_TEMPLATES_134_LOADED' ) ) {
	return;
}

define( 'FACTORY_TEMPLATES_134_LOADED', true );
define( 'FACTORY_TEMPLATES_134', '1.3.4' );

define( 'FACTORY_TEMPLATES_134_DIR', dirname( __FILE__ ) );
define( 'FACTORY_TEMPLATES_134_URL', plugins_url( '', __FILE__ ) );

add_action( 'init', function () {
	load_plugin_textdomain( 'wbcr_factory_templates_134', false, dirname( plugin_basename( __FILE__ ) ) . '/langs' );
} );

require( FACTORY_TEMPLATES_134_DIR . '/includes/ajax-handlers.php' );
require( FACTORY_TEMPLATES_134_DIR . '/includes/class-helpers.php' );
require( FACTORY_TEMPLATES_134_DIR . '/includes/class-configurate.php' );

// module provides function only for the admin area
if ( is_admin() ) {
	/**
	 * Подключаем скрипты для установки компонентов Clearfy
	 * на все страницы админпанели.
	 */
	add_action( 'admin_enqueue_scripts', function ( $hook ) {
		wp_enqueue_script( 'wbcr-factory-templates-134-global', FACTORY_TEMPLATES_134_URL . '/assets/js/clearfy-globals.js', [
			'jquery',
			'wfactory-480-core-general'
		], FACTORY_TEMPLATES_134 );

		require_once FACTORY_TEMPLATES_134_DIR . '/includes/class-search-options.php';
		$all_options = \WBCR\Factory_Templates_134\Search_Options::get_all_options();

		if ( empty( $all_options ) ) {
			return;
		}

		$allow_print_data = false;
		$formated_options = [];

		foreach ( $all_options as $option ) {
			//if( !$allow_print_data && isset($_GET['page']) && $option['page_id'] === $_GET['page'] ) {
			//$allow_print_data = true;
			//}

			$formated_options[] = [
				'value' => $option['title'],
				'data'  => [
					//'hint' => isset($option['hint']) ? $option['hint'] : '',
					'page_url' => $option['page_url'],
					'page_id'  => $option['page_id']
				]
			];
		}

		//if( !$allow_print_data ) {
		//return;
		//}

		wp_localize_script( 'wbcr-factory-templates-134-global', 'wfactory_clearfy_search_options', $formated_options );
	} );

	if ( defined( 'FACTORY_PAGES_480_LOADED' ) ) {
		require( FACTORY_TEMPLATES_134_DIR . '/pages/templates/impressive/class-page-template-impressive.php' );
		require( FACTORY_TEMPLATES_134_DIR . '/pages/templates/impressive/class-pages.php' );
		require( FACTORY_TEMPLATES_134_DIR . '/pages/templates/impressive-lite/class-page-template-impressive-lite.php' );

		require( FACTORY_TEMPLATES_134_DIR . '/pages/class-page-more-features.php' );
		require( FACTORY_TEMPLATES_134_DIR . '/pages/class-page-license.php' );
		require( FACTORY_TEMPLATES_134_DIR . '/pages/class-pages-components.php' );

		require( FACTORY_TEMPLATES_134_DIR . '/pages/setup-parts/class-step.php' );
		require( FACTORY_TEMPLATES_134_DIR . '/pages/setup-parts/class-step-form.php' );
		require( FACTORY_TEMPLATES_134_DIR . '/pages/setup-parts/class-step-custom.php' );
		require( FACTORY_TEMPLATES_134_DIR . '/pages/class-page-setup.php' );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit