!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/packages/kkart-blocks/src/Assets/   drwxr-xr-x
Free 292.7 GB of 429.69 GB (68.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     BackCompatAssetDataRegistry.php (2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Automattic\Kkart\Blocks\Assets;

/**
 * Backwards Compatibility class for plugins using wcSettings in prior versions.
 *
 * Note: This will be removed at some point.
 *
 * @internal
 * @since 2.5.0
 */
class BackCompatAssetDataRegistry extends AssetDataRegistry {
    
/**
     * Overrides parent method.
     *
     * @see AssetDataRegistry::enqueue_asset_data
     */
    
public function enqueue_asset_data() {
        
$this->initialize_core_data();
        
$this->execute_lazy_data();
        
/**
         * Back-compat filter, developers, use 'kkart_shared_settings'
         * filter, not this one.
         *
         * @deprecated 2.5.0
         */
        
$data apply_filters(
            
'kkart_components_settings',
            
$this->get()
        );

        
$data rawurlencodewp_json_encode$data ) );
        
// for back compat with kkart-admin (or other plugins) that expects
        // wcSettings to be always available.
        // @see https://github.com/kkart/kkart-gutenberg-products-block/issues/932.
        
echo '<script>';
        echo 
"var wcSettings = wcSettings || JSON.parse( decodeURIComponent( '" esc_js$data ) . "' ) );";
        echo 
'</script>';
    }

    
/**
     * Override parent method.
     *
     * @see AssetDataRegistry::get_core_data
     *
     * @return array  An array of data to output for enqueued script.
     */
    
protected function get_core_data() {
        global 
$wp_locale;
        
$core_data parent::get_core_data();
        return 
array_merge(
            
$core_data,
            [
                
'siteLocale'    => $core_data['locale']['siteLocale'],
                
'stockStatuses' => $core_data['orderStatuses'],
                
'dataEndpoints' => [],
                
'l10n'          => [
                    
'userLocale'    => $core_data['locale']['userLocale'],
                    
'weekdaysShort' => $core_data['locale']['weekdaysShort'],
                ],
                
'currency'      => array_merge(
                    
$core_data['currency'],
                    [
                        
'position'           => $core_data['currency']['symbolPosition'],
                        
'decimal_separator'  => $core_data['currency']['decimalSeparator'],
                        
'thousand_separator' => $core_data['currency']['thousandSeparator'],
                        
'price_format'       => $core_data['currency']['priceFormat'],
                    ]
                ),
            ]
        );
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0059 ]--