GRAYBYTE WORDPRESS FILE MANAGER8872

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/src/litespeed-wp-plugin/6.4.1/litespeed-cache/thirdparty/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/src/litespeed-wp-plugin/6.4.1/litespeed-cache/thirdparty//divi-theme-builder.cls.php
<?php
/**
 * The Third Party integration with DIVI Theme.
 *
 * @since		2.9.0
 */
namespace LiteSpeed\Thirdparty;

defined('WPINC') || exit();

class Divi_Theme_Builder
{
	// private static $js_comment_box = false;

	/**
	 * Check if is Edit mode in frontend, disable all LSCWP features to avoid breaking page builder
	 *
	 * @since 2.9.7.2 #435538 #581740 #977284
	 * @since  2.9.9.1 Added 'et_pb_preview' for loading image from library in divi page edit
	 */
	public static function preload()
	{
		if (!function_exists('et_setup_theme')) {
			return;
		}
		if (!empty($_GET['et_fb']) || !empty($_GET['et_pb_preview']) || (!empty($_GET['p']) && !empty($_GET['preview']) && $_GET['preview'] === 'true')) {
			do_action('litespeed_disable_all', 'divi edit mode');
		}
	}

	public static function detect()
	{
		if (!defined('ET_CORE')) {
			return;
		}

		// As DIVI will set page to non-cacheable for the 1st visit to generate CCSS, will need to ignore that no-cache for crawler
		defined('LITESPEED_CRAWLER_IGNORE_NONCACHEABLE') || define('LITESPEED_CRAWLER_IGNORE_NONCACHEABLE', true);

		/**
		 * Add contact form to nonce
		 * @since  2.9.7.1 #475461
		 */
		do_action('litespeed_nonce', 'et-pb-contact-form-submit');

		/**
		 * Subscribe module and A/B logging
		 * @since  3.0 @Robert Staddon
		 */
		do_action('litespeed_nonce', 'et_frontend_nonce');
		do_action('litespeed_nonce', 'et_ab_log_nonce');

		/*
		// the comment box fix is for user using theme builder, ESI will load the wrong json string
		// As we disabled all for edit mode, this is no more needed
		add_action( 'et_fb_before_comments_template', 'Divi_Theme_Builder::js_comment_box_on' );
		add_action( 'et_fb_after_comments_template', 'Divi_Theme_Builder::js_comment_box_off' );
		add_filter( 'litespeed_esi_params-comment-form', 'Divi_Theme_Builder::esi_comment_add_slash' );// Note: this is changed in v2.9.8.1
		*/
	}

	/*
	public static function js_comment_box_on() {
		self::$js_comment_box = true;
	}

	public static function js_comment_box_off() {
		self::$js_comment_box = false;
	}

	public static function esi_comment_add_slash( $params )
	{
		if ( self::$js_comment_box ) {
			$params[ 'is_json' ] = 1;
			$params[ '_ls_silence' ] = 1;
		}

		return $params;
	}
	*/
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
August 19 2024 22:55:08
root / root
0755
aelia-currencyswitcher.cls.php
1.785 KB
August 19 2024 22:55:08
root / root
0644
amp.cls.php
1.875 KB
August 19 2024 22:55:08
root / root
0644
autoptimize.cls.php
0.713 KB
August 19 2024 22:55:08
root / root
0644
avada.cls.php
0.632 KB
August 19 2024 22:55:08
root / root
0644
bbpress.cls.php
2.321 KB
August 19 2024 22:55:08
root / root
0644
beaver-builder.cls.php
0.911 KB
August 19 2024 22:55:08
root / root
0644
caldera-forms.cls.php
0.394 KB
August 19 2024 22:55:08
root / root
0644
divi-theme-builder.cls.php
2.2 KB
August 19 2024 22:55:08
root / root
0644
elementor.cls.php
1.336 KB
August 19 2024 22:55:08
root / root
0644
entry.inc.php
1.463 KB
August 19 2024 22:55:08
root / root
0644
facetwp.cls.php
0.669 KB
August 19 2024 22:55:08
root / root
0644
gravity-forms.cls.php
0.513 KB
August 19 2024 22:55:08
root / root
0644
litespeed-check.cls.php
4.644 KB
August 19 2024 22:55:08
root / root
0644
nextgengallery.cls.php
6.151 KB
August 19 2024 22:55:08
root / root
0644
perfmatters.cls.php
0.644 KB
August 19 2024 22:55:08
root / root
0644
theme-my-login.cls.php
0.854 KB
August 19 2024 22:55:08
root / root
0644
user-switching.cls.php
0.497 KB
August 19 2024 22:55:08
root / root
0644
wc-pdf-product-vouchers.cls.php
0.63 KB
August 19 2024 22:55:08
root / root
0644
wcml.cls.php
0.91 KB
August 19 2024 22:55:08
root / root
0644
woo-paypal.cls.php
0.58 KB
August 19 2024 22:55:08
root / root
0644
woocommerce.cls.php
23.78 KB
August 19 2024 22:55:08
root / root
0644
woocommerce.content.tpl.php
3.447 KB
August 19 2024 22:55:08
root / root
0644
woocommerce.tab.tpl.php
0.18 KB
August 19 2024 22:55:08
root / root
0644
wp-polls.cls.php
0.469 KB
August 19 2024 22:55:08
root / root
0644
wp-postratings.cls.php
0.592 KB
August 19 2024 22:55:08
root / root
0644
wpdiscuz.cls.php
0.774 KB
August 19 2024 22:55:08
root / root
0644
wplister.cls.php
0.673 KB
August 19 2024 22:55:08
root / root
0644
wpml.cls.php
0.612 KB
August 19 2024 22:55:08
root / root
0644
wptouch.cls.php
0.688 KB
August 19 2024 22:55:08
root / root
0644
yith-wishlist.cls.php
4.317 KB
August 19 2024 22:55:08
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF