| Server IP : 188.114.96.2 / Your IP : 104.23.243.200 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/nicolasj/temp/fusion-core/ |
Upload File : |
<?php
/**
* Plugin Name: Fusion Core
* Plugin URI: https://theme-fusion.com
* Description: ThemeFusion Core Plugin for ThemeFusion Themes
* Version: 4.1.1
* Author: ThemeFusion
* Author URI: https://theme-fusion.com
* Requires PHP: 5.6
*
* @package Fusion-Core
* @subpackage Core
*/
// Plugin version.
if ( ! defined( 'FUSION_CORE_VERSION' ) ) {
define( 'FUSION_CORE_VERSION', '4.1.1' );
}
// Minimum PHP version required.
if ( ! defined( 'FUSION_CORE_MIN_PHP_VER_REQUIRED' ) ) {
define( 'FUSION_CORE_MIN_PHP_VER_REQUIRED', '5.6' );
}
// Minimum WP version required.
if ( ! defined( 'FUSION_CORE_MIN_WP_VER_REQUIRED' ) ) {
define( 'FUSION_CORE_MIN_WP_VER_REQUIRED', '4.5' );
}
// Plugin Folder Path.
if ( ! defined( 'FUSION_CORE_PATH' ) ) {
define( 'FUSION_CORE_PATH', wp_normalize_path( dirname( __FILE__ ) ) );
}
// Plugin Folder URL.
if ( ! defined( 'FUSION_CORE_URL' ) ) {
define( 'FUSION_CORE_URL', plugin_dir_url( __FILE__ ) );
}
// The main plugin file path.
if ( ! defined( 'FUSION_CORE_MAIN_PLUGIN_FILE' ) ) {
define( 'FUSION_CORE_MAIN_PLUGIN_FILE', plugin_dir_url( __FILE__ ) );
}
/**
* Compatibility check.
*
* Check that the site meets the minimum requirements for the plugin before proceeding.
*
* @since 4.0
*/
if ( version_compare( $GLOBALS['wp_version'], FUSION_CORE_MIN_WP_VER_REQUIRED, '<' ) || version_compare( PHP_VERSION, FUSION_CORE_MIN_PHP_VER_REQUIRED, '<' ) ) {
require_once FUSION_CORE_PATH . '/includes/bootstrap-compat.php';
return;
}
/**
* Bootstrap the plugin.
*
* @since 4.0
*/
require_once FUSION_CORE_PATH . '/includes/bootstrap.php';
/* Omit closing PHP tag to avoid "Headers already sent" issues. */