403Webshell
Server IP : 104.21.74.147  /  Your IP : 216.73.217.154
Web Server : nginx/1.24.0
System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/rebeccaone.com/wp-content/plugins/cornerstone/includes/standalone/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rebeccaone.com/wp-content/plugins/cornerstone/includes/standalone/Standalone.php
<?php

// @TODO support data
add_filter( 'cs_breakpoint_ranges', function($data) {
  return [ 480, 767, 979, 1200 ];
});

// Default range to match defaults
add_filter( 'cs_breakpoint_default_ranges', function($data) {
  return [ 480, 767, 979, 1200 ];
});


/**
 * Fontawesome setup
 * @TODO consilidate X to this one
 */
add_filter( 'cs_fa_config', function ( $fa ) {
  $fa = array_merge( $fa, [
    'icon_type' => cs_stack_get_value( 'x_font_awesome_icon_type', 'webfont' ),
    'load_type_for_elements' => cs_stack_get_value("x_font_awesome_load_types_for_elements", false),
    'x_font_awesome_icon_type' => cs_stack_get_value( 'x_font_awesome_icon_type', 'webfont' ),
    'x_font_awesome_load_types_for_elements' => cs_stack_get_value( 'x_font_awesome_load_types_for_elements', false ),
    'x_font_awesome_shim_enable' => cs_stack_get_value( 'x_font_awesome_shim_enable', 'markup'),
    'fa_solid_enable'   => (bool) cs_stack_get_value( 'x_font_awesome_solid_enable', true ),
    'fa_regular_enable' => (bool) cs_stack_get_value( 'x_font_awesome_regular_enable', true ),
    'fa_light_enable'   => (bool) cs_stack_get_value( 'x_font_awesome_light_enable', true ),
    'fa_brands_enable'  => (bool) cs_stack_get_value( 'x_font_awesome_brands_enable', true ),
    'fa_sharp-light_enable'  => (bool) cs_stack_get_value( 'x_font_awesome_sharp-light_enable', false ),
    'fa_sharp-regular_enable'  => (bool) cs_stack_get_value( 'x_font_awesome_sharp-regular_enable', false ),
    'fa_sharp-solid_enable'  => (bool) cs_stack_get_value('x_font_awesome_sharp-solid_enable'),
  ]);

  return $fa;
});

// Fix for standalone not working with normal options
add_filter("pre_option_x_font_awesome_icon_type", function() {
  return cs_stack_get_value( 'x_font_awesome_icon_type', 'webfont' );
});

Youez - 2016 - github.com/yon3zu
LinuXploit