HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/amberconcept/wp-content/plugins/insert-php/libs/factory/bootstrap/boot.php
<?php
/**
 * Factory Bootstrap
 *
 * @author        Alex Kovalev <alex.kovalevv@gmail.com>
 * @since         1.0.0
 * @package       factory-bootstrap
 * @copyright (c) 2018, Webcraftic Ltd
 *
 */

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

// module provides function only for the admin area
if( !is_admin() ) {
	return;
}

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

define('FACTORY_BOOTSTRAP_477_VERSION', '4.7.7');
define('FACTORY_BOOTSTRAP_477_LOADED', true);

if( !defined('FACTORY_FLAT_ADMIN') ) {
	define('FACTORY_FLAT_ADMIN', true);
}

define('FACTORY_BOOTSTRAP_477_DIR', dirname(__FILE__));
define('FACTORY_BOOTSTRAP_477_URL', plugins_url('', __FILE__));

require_once(FACTORY_BOOTSTRAP_477_DIR . '/includes/functions.php');

/**
 * @param Wbcr_Factory475_Plugin $plugin
 */
add_action('wbcr_factory_bootstrap_477_plugin_created', function ($plugin) {
	$manager = new Wbcr_FactoryBootstrap477_Manager($plugin);
	$plugin->setBootstap($manager);
});