403Webshell
Server IP : 167.235.67.158  /  Your IP : 216.73.216.95
Web Server : Apache
System : Linux ubuntu-8gb-nbg1-1 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : upstairsbar.co.uk ( 982)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/queenofbradgate.co.uk/wp-content/themes/enfold/config-templatebuilder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/queenofbradgate.co.uk/wp-content/themes/enfold/config-templatebuilder/config.php
<?php
/*function that checks if the avia builder was already included*/
function avia_builder_plugin_enabled()
{
	if (class_exists( 'AviaBuilder' )) { return true; }
	return false;
}


//set the folder that contains the shortcodes
function add_shortcode_folder($paths)
{
	$paths = array(dirname(__FILE__) ."/avia-shortcodes/");
	return $paths;
}

add_filter('avia_load_shortcodes','add_shortcode_folder');



//set the folder that contains assets like js and imgs
function avia_builder_plugins_url($url)
{
	$url = get_template_directory_uri()."/config-templatebuilder/avia-template-builder/";
	return $url;
}


add_filter('avia_builder_plugins_url','avia_builder_plugins_url');


//check if the builder was included via plugin. if not include it now via theme
if(!avia_builder_plugin_enabled())
{
	require_once( dirname(__FILE__) . '/avia-template-builder/php/template-builder.class.php' );
	
	//define( 'AVIA_BUILDER_TEXTDOMAIN',  'avia_framework' );
	
	$builder = new AviaBuilder();
	
	//activates the builder safe mode. this hides the shortcodes that are built with the content builder from the default wordpress content editor. 
	//can also be set to "debug", to show shortcode content and extra shortcode container field
	$builder->setMode( 'safe' ); 
	
	//set all elements that are fullwidth and need to interact with the section shortcode. av_section is included automatically
	$builder->setFullwidthElements( array('av_revolutionslider', 'av_layerslider' ,'av_slideshow_full', 'av_fullscreen', 'av_masonry_entries','av_masonry_gallery') ); 
}




Youez - 2016 - github.com/yon3zu
LinuXploit